Difference between revisions of "ComplexRoot Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}}
{{command|function}}
+
;ComplexRoot( <Polynomial> )
;ComplexRoot[ <Polynomial> ]
+
:Finds the complex roots of a given polynomial in ''x''. Points are created in [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]].
 
+
:{{example|1=<div><code><nowiki>ComplexRoot(x^2 + 4)</nowiki></code> yields ''(0 + 2 ί)'' and ''(0 - 2 ί)''</div>}}
:{{description}}
 
 
 
 
==CAS Syntax==
 
==CAS Syntax==
;ComplexRoot[ <Polynomial> ]
+
;ComplexRoot( <Polynomial> )
Finds the complex roots of a given polynomial in x.
+
:Finds the complex roots of a given polynomial in ''x''.
:{{example|1=<div><code><nowiki>ComplexRoot[x^2 + 1]</nowiki></code> gives ''{x = ί, x = -ί}'', the complex roots of ''x<sup>2</sup>''.</div>}}
+
:{{example|1=<div><code><nowiki>ComplexRoot(x^2 + 4)</nowiki></code> yields ''{- 2 ί, 2 ί}''</div>}}
{{note| 1=<div>
+
{{note| 1=<div>Use [[CSolve Command]] instead.</div>}}
*The complex ί is obtained by pressing ALT + i. See also [[Complex Command]].
 
*See also [[CSolve Command]].
 
</div>}}
 

Latest revision as of 07:52, 9 October 2017


ComplexRoot( <Polynomial> )
Finds the complex roots of a given polynomial in x. Points are created in Menu view graphics.svg Graphics View.
Example:
ComplexRoot(x^2 + 4) yields (0 + 2 ί) and (0 - 2 ί)

CAS Syntax

ComplexRoot( <Polynomial> )
Finds the complex roots of a given polynomial in x.
Example:
ComplexRoot(x^2 + 4) yields {- 2 ί, 2 ί}
Note:
Use CSolve Command instead.
© 2024 International GeoGebra Institute