First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

In your case, the representation on the screen is intimately related to the nature of the numbers. If you want numerical output (i.e. floating point numbers), then use numerical input and not (exact) symbolic expressions. For example

sage: pi_approx = RDF(pi)
sage: sin(100.)
-0.506365641109759
sage: sqrt(pi_approx*2)
2.5066282746310002

Vincent