Hi,

I am a total newcomer, and here is very simple high-school level
question for which I could not find an answer in several hours of
searching:

How can I use Sage to simplify ratios involving complex numbers?

By simplify, I mean, to put into the canonical form a+b*i.

For a very simple example: simplifying x=1/(1+i) would yield (1/2 - i/
2)

Note: this is simple to do by hand: multiply both numerator and
denominator by the conjugate of the denominator. For my example, this
leads to:

x= (1-i)/[(1+i)(1-i)]
x = (1-i)/[1^2-i^2]
x = (1-i)/[1+1]
x = (1-i)/2
x = 1/2 -i/2

I tried quite a number of things, none of which worked.

Thanks, and sorry if my question is easy (well actually, I hope it's
easy ;-)

Jean-Denis from France

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to