I am a bit new to Sage, what method would you recommend for finding
the solutions numerically?

Thanks,
Chris

On Wed, Jul 16, 2014 at 4:07 PM, Nils Bruin <nbr...@sfu.ca> wrote:
> On Wednesday, July 16, 2014 3:49:06 PM UTC-7, Chris Maness wrote:
>>
>> But I am getting some strange results.  Only one root that does not
>> match the graph.
>
>
> with:
>
> sage:  find_root??
>
> you find that this code calls (via some horrible indirections: find_root
> calls f.find_root, which calls find_root again, but now with f._fast_float_,
> which calls) scipy.optimize.brentq, which says:
>
>     Find a root of a function in given interval.
>
>     Return float, a zero of `f` between `a` and `b`.  `f` must be a
> continuous
>     function, and [a,b] must be a sign changing interval.
>
> It would have been good if the sage documentation would repeat that
> condition. Clearly, in your case you happen to zoom in on a sign-changing
> interval on which your function is not continuous.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to