Maxima : Getting a value from 'Solve'



Thank you, Leo.


Regards,
Lut Mentz

----- Original Message ----- 
From: "Leo Butler" <l.butler at ed.ac.uk>
To: "Lut Mentz" <lut.mentz at zen.co.uk>
Cc: <maxima at math.utexas.edu>
Sent: Tuesday, February 08, 2011 7:53 PM
Subject: Re: [Maxima] Maxima : Getting a value from 'Solve'


 
 Here is another way:

 solve(....);
 map(lambda([t],lhs(t)::rhs(t)),%);

 This will bind accz. If there are no solutions, that's ok; if there
 are multiple solutions, this binds accz to the last solution in the
 list.

 The :: operator is like : except that both sides are evaluated before
 binding.

 Leo
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.