Post Reply 
System of non-linear equations
05-05-2014, 07:10 PM
Post: #7
RE: System of non-linear equations
It's slow but it works in Xcas, e.g.
Code:

fsolve([39.8344274/(y-0.1495645628)-24.52151/(y^2)=39.8344274/(x-0.1495645628)-24.52151/(x^2),39.8344274/(y-0.1495645628)-24.52151/(y^2)=39.8344274*ln((x-0.1495645628)/(y-0.1495645628))/(x-y)-24.52151/(x*y)],[x,y],[1.6,0.2])
The reason is probably because I compute symbolically the inverse of the jacobian, perhaps it would be faster if done at each Newton iteration step, once x and y have values.
For multi-dimensional systems, you can not provide intervals as guesses, this work only for 1-dimension equation where you can start a bisection.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
System of non-linear equations - Gabriel - 05-05-2014, 04:34 PM
RE: System of non-linear equations - parisse - 05-05-2014 07:10 PM



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