Hello, After having solved an equation, I'd like to use the result for another calculation (calculating y) or a ploting. How to convert sol into a numerical value?
thank you jeanpat sol=solve(2*x+1==7,x) print sol print sol[0], type(sol), type(sol[0]) #y=2*sol+7 #print y #plot(sol,0) -- 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.
