You can do two things jeanpat: 1:
sol=solve(2*x+1==7,x, solution_dict=True) print sol # sol is a list of dictionaries (key: variables, value: solution value) print sol[0][x] 2: sol=solve(2*x+1==7,x) print sol # sol is a list of equations print sol[0].rhs() # takes the first (and only on this occasion) equation of your solution and take the right hand side (rhs) of it. Vince -- Dr Vincent Knight Cardiff School of Mathematics Senghennydd Road, Cardiff CF24 4AG (+44) 29 2087 5548 www.vincent-knight.com +Vincent Knight @drvinceknight Skype: drvinceknight -- You received this message because you are subscribed to the Google Groups "sage-support" 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 http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
