[sage-support] Re: numerical approximation in sage.

2009-11-27 Thread John H Palmieri
On Nov 27, 10:03 am, Yotam Avital yota...@gmail.com wrote: Hello. In the tutorials there is an example for numerical approximation: var('x y p q') (x, y, p, q) eq1 = p+q==9 eq2 = q*y+p*x==-6 eq3 = q*y^2+p*x^2==24 solns = solve([eq1,eq2,eq3,p==1],p,q,x,y, solution_dict=True)

Re: [sage-support] Re: numerical approximation in sage.

2009-11-27 Thread Yotam Avital
My question is about the syntax and why does this syntax give a numerical approximation. To my understanding, solns is contracted from two arrays with p,q,x,y being the keys (because there are two solutions to the equations set). The part for s in solns is putting in s ab array, and the part

[sage-support] Re: numerical approximation in sage.

2009-11-27 Thread kcrisman
Hi, This is an unavoidable consequence of using Maxima's solve commands, I think - with multiple equations, Maxima's solve uses things like algsys, if I'm not mistaken, and those return real solutions if they can't find symbolic ones. With one equation the (new) behavior is to not do this