Difference between revisions of "ComplexRoot Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
(command syntax: changed [ ] into ( ))
 
Line 2: Line 2:
 
;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]].
 
: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>}}
+
:{{example|1=<div><code><nowiki>ComplexRoot(x^2 + 4)</nowiki></code> yields ''(0 + 2 ί)'' and ''(0 - 2 ί)''</div>}}
 
==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 + 4]</nowiki></code> yields ''{- 2 ί, 2 ί}''</div>}}
+
:{{example|1=<div><code><nowiki>ComplexRoot(x^2 + 4)</nowiki></code> yields ''{- 2 ί, 2 ί}''</div>}}
 
{{note| 1=<div>Use [[CSolve Command]] instead.</div>}}
 
{{note| 1=<div>Use [[CSolve Command]] instead.</div>}}

Latest revision as of 08: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