Håkan Granath
unread,Sep 12, 2010, 7:06:12 AM9/12/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-support
Sometimes n() returns a symbolic expression:
----------------------------------------------------------------------
| Sage Version 4.5.3, Release Date: 2010-09-04 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: a=(sqrt(4*(sqrt(3) - 5)*(sqrt(3) + 5) + 48) + 4*sqrt(3))/
(sqrt(3) + 5)
sage:
a.imag().n()
0.939469338708203*sin(0.500000000000000*pi)
The expected output would, of course, be 0.939469338708203
Regards,
/Håkan Granath