Ask Your Question

Revision history [back]

With the patches recently merged to Sage 4.6.alpha3, you can do this:

sage: sqrt(2).power(-1, hold=True)*(1+i)
(I + 1)/sqrt(2)

If you want to try it out before the release, you can find the new alpha here:

http://sage.math.washington.edu/home/release/sage-4.6.alpha3/sage-4.6.alpha3.tar

or you can upgrade with

./sage -upgrade http://sage.math.washington.edu/home/release/sage-4.6.alpha3/