Hi all,
Does anyone know haw I can assign names to the equations as they are solves in Maxima?
I am solving some simultaneous equations using
solve([f(x),g(y),h(z)],[x,y,z])
and I get three equations as output as I am not solving for actual values of x,y, and x, I'm looking for algebraic solutions. What I want to do is label each of the output equations as i,j and k.
Any help?
Yes, I know how to do that.
But this time I am not looking for actual numbers as output, I'm solving algebraic equations to get an equation for the solutions to the simultaneous equations.
The result of the solve formula is three equations. I want to know how to label these equations.
I've tried
[a,b,c]: solve([f(x),g(y),h(z)],[x,y,z]);
but it doesn't work.
Sorry, about that. No offense intended.
Below is a simplified version of the problem I am dealing with
In my real problem I more equations and they are a lot longer. What I want to do is name the equations that are produced as output (the equations for b and d above) so that they can be recalled later.Code:(%i1) X: a*b+c*d=e; (%o1) c d + a b = e (%i2) Y:g*b+h*d=f; (%o2) d h + b g = f (%i3) solve([X,Y],[b,d]); e h - c f e g - a f (%o3) [[b = - ---------, d = ---------]] c g - a h c g - a h
Thanks for your help