Suppose I have something like:

sage: x,y,z=var('x y z')
sage: eq = cos(x)*sin(y)*tan(x)

and I want to substitute a value for x, say, x=5. Then,
I would have

eq = cos(5)*sin(y)*tan(5)

which is what I get when I do .substitute() in sage. However, I want
this partially numerically evaluated to obtain

eq = 0.28366*sin(y)*(-3.38051)

How can I do this?

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to