Post Reply 
Opaque functions and fsolve / numerical methods
04-08-2021, 12:03 PM (This post was last modified: 04-08-2021 12:21 PM by roadrunner.)
Post: #4
RE: Opaque functions and fsolve / numerical methods
(04-08-2021 04:54 AM)compaqdrew Wrote:  How did you figure that out?

I guess just from reading this forum for the last gillion years or so.

fsolve uses bisection and i believe it does do numerical solutions; i think CAS just solves the equation differently and sends that to fsolve. Maybe the prime gurus can chime in on that one.

Because bisection usually doesn't like discontinuities I was surprised fsolve found both solutions separated by one. In general you will probably have to give it a range to search in that avoids discontinuities.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Opaque functions and fsolve / numerical methods - roadrunner - 04-08-2021 12:03 PM



User(s) browsing this thread: 1 Guest(s)