Difference between revisions of "ToPoint Command"
From GeoGebra Manual
Line 3: | Line 3: | ||
:{{example|1=<div><code><nowiki>ToPoint[3 + 2ί]</nowiki></code> yields a [[Free, Dependent and Auxiliary Objects|dependent]] [[Points and Vectors|point]] with coordinates (3, 2).</div>}} | :{{example|1=<div><code><nowiki>ToPoint[3 + 2ί]</nowiki></code> yields a [[Free, Dependent and Auxiliary Objects|dependent]] [[Points and Vectors|point]] with coordinates (3, 2).</div>}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
− | ;ToPoint[ <Complex Number> ]:Creates the [[Free, Dependent and Auxiliary Objects|free]] [[Points and Vectors|point]] for the given [[Complex Numbers|complex number]]. | + | ;ToPoint[ <Complex Number> ]:Creates the [[Free, Dependent and Auxiliary Objects|free]] [[Points and Vectors|point]] or vector for the given [[Complex Numbers|complex number]]. Its coordinates are:<br>([[Real Function|real(<small>Complex<sub>Number</sub></small>)]], [[Imaginary Function|imaginary(<small>Complex<sub>Number</sub></small>)]]). |
:{{Examples|1=<br><br><code><nowiki>ToPoint[{3 + 2ί}]</nowiki></code> yields ''2ί + 3''. When you click on the right little marble, the [[Complex Numbers|complex number]] ''z<sub>1</sub> :=2ί + 3'' gets visibility and dynamic association with the [[Free, Dependent and Auxiliary Objects|free]] [[Points and Vectors|point]] whose coordinates are ''(3, 2)''.<br><br><code><nowiki>ToPoint[3 + 2ί]</nowiki></code> returns the [[Free, Dependent and Auxiliary Objects|free]] [[Points and Vectors|vector]] ''z = (3,2)'' and <math> 3 \choose 2 </math> in the [[Algebra View]]}}<hr> | :{{Examples|1=<br><br><code><nowiki>ToPoint[{3 + 2ί}]</nowiki></code> yields ''2ί + 3''. When you click on the right little marble, the [[Complex Numbers|complex number]] ''z<sub>1</sub> :=2ί + 3'' gets visibility and dynamic association with the [[Free, Dependent and Auxiliary Objects|free]] [[Points and Vectors|point]] whose coordinates are ''(3, 2)''.<br><br><code><nowiki>ToPoint[3 + 2ί]</nowiki></code> returns the [[Free, Dependent and Auxiliary Objects|free]] [[Points and Vectors|vector]] ''z = (3,2)'' and <math> 3 \choose 2 </math> in the [[Algebra View]]}}<hr> | ||
:{{Notes|1= | :{{Notes|1= |
Revision as of 03:24, 3 February 2013
- ToPoint[ <Complex Number> ]
- Creates from the complex number a dependent point with (real(ComplexNumber), imaginary(ComplexNumber)) coordinates.
CAS Syntax
- ToPoint[ <Complex Number> ]
- Creates the free point or vector for the given complex number. Its coordinates are:
(real(ComplexNumber), imaginary(ComplexNumber)). - Examples:
ToPoint[{3 + 2ί}]
yields 2ί + 3. When you click on the right little marble, the complex number z1 :=2ί + 3 gets visibility and dynamic association with the free point whose coordinates are (3, 2).ToPoint[3 + 2ί]
returns the free vector z = (3,2) and 3 \choose 2 in the Algebra View
- Notes:
- The complex ί is obtained by pressing ALT + i.
- See also the following commands: ToComplex, ToExponential and ToPolar.