Difference between revisions of "ToPolar Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}</noinclude> | <noinclude>{{Manual Page|version=4.0}}</noinclude> | ||
− | {{command|CAS}} | + | {{command|CAS}} |
+ | ;ToPolar[ <Vector> ] | ||
+ | :Transforms a vector into its polar coordinates. | ||
+ | :{{example|1=<div><code><nowiki>ToPolar[{1, sqrt(3)}]</nowiki></code> yields''(2; <math>\frac{\pi}{3}</math>)'', the polar coordinates of ''(1, <math>\sqrt{3}</math>)''.</div>}} | ||
;ToPolar[ <Complex Number> ] | ;ToPolar[ <Complex Number> ] | ||
:Transforms a complex number into its polar coordinates. | :Transforms a complex number into its polar coordinates. |
Revision as of 15:04, 5 September 2011
This command works in CAS View only.
- ToPolar[ <Vector> ]
- Transforms a vector into its polar coordinates.
- Example:
ToPolar[{1, sqrt(3)}]
yields(2; \frac{\pi}{3}), the polar coordinates of (1, \sqrt{3}).
- ToPolar[ <Complex Number> ]
- Transforms a complex number into its polar coordinates.
- Example:
ToPolar[1 + sqrt(3) * ί]
yields(2; \frac{\pi}{3}), the polar coordinates of 1 + \sqrt{3} * ί.
Note:
- The complex ί is obtained by pressing ALT + i.
- See also ToComplex Command, ToExponential Command and ToPoint Command.