Post Reply 
Non-linear system of eqtns
01-27-2015, 08:57 PM (This post was last modified: 01-27-2015 09:03 PM by Han.)
Post: #2
RE: Non-linear system of eqtns
purge(x,y,z);
eq1:=z*y - x^2 + y = -53;
eq2:=x^2 + y^2 - z = 47;
eq3:=x*y - x + z = -11;
soln:=fsolve([eq1,eq2,eq3],[x,y,z]=[1,5,0]);

Now check your answer:

subst(eq1,[x,y,z]=soln);
subst(eq2,[x,y,z]=soln);
subst(eq3,[x,y,z]=soln);

In each of these three cases, the left hand side should equal the right hand side (or be very close).

Finally, delete the variable 'soln' and the three equations (if you no longer need them):

purge(soln,eq1,eq2,eq3);

EDIT: forgot to mention this should be done in CAS view.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Non-linear system of eqtns - Offroad - 01-27-2015, 08:16 PM
RE: Non-linear system of eqtns - Han - 01-27-2015 08:57 PM
RE: Non-linear system of eqtns - Maro - 01-27-2015, 09:04 PM
RE: Non-linear system of eqtns - Han - 01-27-2015, 09:08 PM
RE: Non-linear system of eqtns - Offroad - 01-27-2015, 09:48 PM



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