Brian Harris wrote:
> How can I get sage to print the numeric value of an expression such
> as, cos(3)?


sage: cos(3)
cos(3)
sage: RR(cos(3))
-0.989992496600445



> 
> Also is there a way to switch between 'radian' and 'degree' modes like
> in some calculators?


Everything is in radians. To compute the cosine of 30 degrees, just
multiply by pi/180:

sage: RR(cos(pi*30/180))
0.866025403784439

> 
> 
> > 
> 


--~--~---------~--~----~------------~-------~--~----~
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://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to