solving equations




On Fri, 26 Feb 2010, Janek Kozicki wrote:

< Leo Butler said:     (by the date of Fri, 26 Feb 2010 18:34:07 +0000 (GMT))
< 
< > a^2*b^2*(y^2/b^2+x^2/a^2-1)*B^2+(y-y0)*B+(x-x0)*A = 0
< > 
< > a quadratic in B. Maxima (solve) gives me two solutions to this
< > equation in B.
< 
< thanks a lot, it starts to work now. Can you tell me, how can
< I extract the right hand side of one of those two solutions? I mean:
< 
< B_result:solve(eq4,B);
< 
< produces a lenghty:
< 
< [B= ...., B= .....]
< 
< And so I want to assign:
< 
< B1: right_hand_side_of(B_result[1])
< 
< Which doesn't work of course, so I do:
< 
< B1: B_result[1]
< 
< And it becomes:
< 
< B1: B=.......
< 
< But I want only the right hand side:
< 
< B1: .......
 
Try

rhs

Leo

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