Hi:

In sympy1.0, it is recommended to use solveset to solve equation, but how 
to get the element of the solution?

For example:

import sympy
x=sympy.symbols('x',real=True)
e,m=sympy.symbols('e,m',positive=True)
sympy.solveset(sympy.sqrt(2*e*m-(x*m)**2),x)

I want to get the first and second solution individually to do further 
calculation, but I can not directly use [0] and [1], so how to get 
individual element?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/e5066484-5d01-434e-82df-d01a5771fc8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to