I am just getting started with Maple TA for Calc III. I am trying to solve LaGrange multipliers. When the solve command returns multiple sets of answers, how do I extract the specific values for the subs command? $f=xyz; $q=x^2+2y^2+3z^2-6; $g=maple("f+mu*$q"); $exp1=maple("diff($g,x)"); $exp2=maple("diff($g,y)"); $exp3=maple("solve({$q,$exp1,$exp2},[x,y,mu])"); $ans1=maple("subs({x = ????,),y =???? )},$f)"); $ans2=maple("subs({x = ????,y = ????},$f)"); The question marks are where I am lost.

Please Wait...