News
Index
Working with MUMIE as author
- Initial steps:
- Articles:
- Problems:
- Programming with Python
- Visualizations with JSXGraph
- Media Documents:
Working with MUMIE as teacher
Using MUMIE via plugin in local LMS
FAQ
You're not logged in
Working with MUMIE as author
Working with MUMIE as teacher
Using MUMIE via plugin in local LMS
FAQ
A complex number can be represented as a pair of real numbers (cartesian coordinates)
$$z = x + iy$$ or in polar coordinates $$ z = r\,e^{i\, \phi}$$. The phase $$\phi$$ is defined up to a multiple of $$2\,\pi$$
The computation of the polar coordinates is set as a problem in the list of examples.
https://miau.mumie.net/web-miau/editor/content%2Fexamples%2FinputFunction%2Fprb_input_function_polar-representation_complex-number.src.tex
The computation of the phase $$\phi$$ requires some care:
$$ \phi = \arctan(y/x), \mod 2\pi, \text{for}\, x > 0 $$
$$ \phi = \arctan(y/x) + \pi, \mod 2\pi, \text{for}\, x < 0 $$
The case $$x=0$$ does not occure in the problem.
Updated by Ruedi Seiler, 3 years, 5 months ago – deaf55d