[Bugzilla] [Bug 9231] Samuel GOUGEON has changed component
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Wed Mar 21 00:46:24 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=9231
--------- Bug Summary -----------
fsolve() produces wrong answer for certain variable values
---------- Changed by ------------
sgougeon at free.fr
---------- What changed ----------
component
Samuel GOUGEON <sgougeon at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Scilab |Numerical Math
--- Comment #4 from Samuel GOUGEON <sgougeon at free.fr> ---
(In reply to Samuel GOUGEON from comment #1)
> Another simple failing case:
>
> * What's the root of exp(x)*(3-x) - 3 = 0 ? : 0 and 2.8214394... Yet:
> function d = test(x)
> d = exp(x).*(3-x) - 3
> endfunction
> [x, v, info] = fsolve(2, test)
>
> // yielding
> -->[x, v, info] = fsolve(2,test)
> info =
> 1. // meaning: algorithm estimates that the relative error between x and the solution is at most tol.
> v =
> 4.3890561 // quite far from 0 !!
> x =
> 2.
>
> The diagnosis given by info looks wrong!
We still get these erroneous result and message in Scilab 6.0.1 / win7 64 bits
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180321/8a361e01/attachment.htm>
More information about the Bugzilla
mailing list