Post Reply 
Using fsolve() to solve non-linear system equation
06-25-2019, 01:50 AM (This post was last modified: 06-25-2019 01:52 AM by Helge Gabert.)
Post: #5
RE: Using fsolve() to solve non-linear system equation
Good starting values are important, you just have to experiment a little.

For example, fsolve([x+y=5/4*\pi, tan(x)=1],[x,y],[\pi,\pi]) returns [3.92699..., -1.01...e-15],

which is your desired second solution, or [5*\pi/4,0].
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Using fsolve() to solve non-linear system equation - Helge Gabert - 06-25-2019 01:50 AM



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