On Mar 16, 6:14 am, jpc wrote:
> like matlab fzero command, the numerical answer of the
> equation is $x \approx 0$ because of the change of sign of
> $1/x \in [-1,1]$.
This is not really a complete description of Matlab's behavior
in this situation. If you simply define f(x) = 1/x and apply
f
Using symbolic computation:
sage: x=var('x')
sage: solve(1/x==0)
[ ]
sage:
However, and like matlab fzero command, the numerical answer of the
equation is $x \approx 0$ because of the change of sign of $1/x \in
[-1,1]$.
Maybe the "find_root" documentation needs to mention that continuity
of $f$