Ask Your Question

Revision history [back]

Use RDF.pi() instead of pi.

Use RDF.pi() instead of pi. pi.

sage: pi = RDF.pi()
sage: s = cos(99.9500000000000*pi + 199.900000000000*pi*real_part(sgn(sin(49.9750000000000*pi))))*e^(-199.900000000000*pi*imag_part(sgn(sin(49.9750000000000*pi)))) + 1
sage: s
1.98768834059514