Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to get a true/false for complex numbers

I'm trying to compare complex numbers in euler form. 260 and 100 is supposed to be degrees, not radiant. (How do I input that=

My input:

e^(i*260) == e^(-i*100)

Expected output:

true

Actual output:

e^(260*I) == e^(-100*I)

What did I do wrong and is my formatting correct? Please not that I'm new to sage. Thank you :)