Difference between revisions of "ToPolar Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}}
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|geogebra}}
 
{{command|geogebra}}
 
;ToPolar[ <Vector> ]
 
;ToPolar[ <Vector> ]
 
:Transforms a vector into its polar coordinates.
 
:Transforms a vector into its polar coordinates.
 
:{{example|1=<div><code><nowiki>ToPolar[{1, sqrt(3)}]</nowiki></code> yields''(2; 60°)'', the polar coordinates of ''(1, <math>\sqrt{3}</math>)''.</div>}}
 
:{{example|1=<div><code><nowiki>ToPolar[{1, sqrt(3)}]</nowiki></code> yields''(2; 60°)'', 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.
 
:{{example|1=<div><code><nowiki>ToPolar[1 + sqrt(3) * ί]</nowiki></code> yields''(2; 60°)'', the polar coordinates of ''1 + <math>\sqrt{3}</math> * ί''.</div>}}
 
:{{example|1=<div><code><nowiki>ToPolar[1 + sqrt(3) * ί]</nowiki></code> yields''(2; 60°)'', the polar coordinates of ''1 + <math>\sqrt{3}</math> * ί''.</div>}}
 +
 
==CAS Syntax==
 
==CAS Syntax==
 
;ToPolar[ <Vector> ]
 
;ToPolar[ <Vector> ]
 
:Transforms a vector into its polar coordinates.
 
: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>}}
 
:{{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.
 
:{{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>}}
 
:{{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>}}
 +
 
{{note| 1=<div>
 
{{note| 1=<div>
 
*  The complex ί is obtained by pressing {{KeyCode|ALT + i}}.  
 
*  The complex ί is obtained by pressing {{KeyCode|ALT + i}}.  
 
* See also [[ToComplex Command]], [[ToExponential Command]] and [[ToPoint Command]].
 
* See also [[ToComplex Command]], [[ToExponential Command]] and [[ToPoint Command]].
 
</div>}}
 
</div>}}

Revision as of 11:22, 21 December 2012



ToPolar[ <Vector> ]
Transforms a vector into its polar coordinates.
Example:
ToPolar[{1, sqrt(3)}] yields(2; 60°), 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; 60°), the polar coordinates of 1 + \sqrt{3} * ί.


CAS Syntax

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:
© 2024 International GeoGebra Institute