Difference between revisions of "ToPolar Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 2: Line 2:
 
;ToPolar( <Vector> )
 
;ToPolar( <Vector> )
 
:Transforms a vector into its polar coordinates.
 
:Transforms a vector into its polar coordinates.
:{{example|1=<code><nowiki>ToPolar({1, sqrt(3)})</nowiki></code> yields ''(2; 60°)'' in the [[File:Menu view algebra.svg|link=|16px]] [[Algebra View]] and ''(2; <math>\frac{\pi}{3}</math>)'' in the [[File:Menu view cas.svg|link=|16px]] [[CAS View]].}}
+
:{{example|1=<code><nowiki>ToPolar({1, sqrt(3)})</nowiki></code> yields ''(2; 60°)'' in the ([File:Menu view algebra.svg|link=|16px)] [[Algebra View]] and ''(2; <math>\frac{\pi}{3}</math>)'' in the ([File:Menu view cas.svg|link=|16px)] [[CAS View]].}}
 
;ToPolar( <Complex Number> )
 
;ToPolar( <Complex Number> )
 
:Transforms a complex number into its polar coordinates.
 
:Transforms a complex number into its polar coordinates.
:{{example|1=<code><nowiki>ToPolar(1 + sqrt(3) * ί)</nowiki></code> yields ''(2; 60°)'' in the [[File:Menu view algebra.svg|link=|16px]] [[Algebra View]] and ''(2; <math>\frac{\pi}{3}</math>)'' in the [[File:Menu view cas.svg|link=|16px]] [[CAS View]].}}
+
:{{example|1=<code><nowiki>ToPolar(1 + sqrt(3) * ί)</nowiki></code> yields ''(2; 60°)'' in the ([File:Menu view algebra.svg|link=|16px)] [[Algebra View]] and ''(2; <math>\frac{\pi}{3}</math>)'' in the ([File:Menu view cas.svg|link=|16px)] [[CAS View]].}}
  
 
{{note| 1=<div>
 
{{note| 1=<div>

Revision as of 17:18, 7 October 2017


ToPolar( <Vector> )
Transforms a vector into its polar coordinates.
Example: 16px)] Algebra View and (2; \frac{\pi}{3}) in the ([File:Menu view cas.svg
ToPolar( <Complex Number> )
Transforms a complex number into its polar coordinates.
Example: 16px)] Algebra View and (2; \frac{\pi}{3}) in the ([File:Menu view cas.svg


Note:
© 2024 International GeoGebra Institute