Difference between revisions of "ComplexRoot Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} | ||
− | ;ComplexRoot | + | ;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 | + | ;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>}} |
Revision as of 17:17, 7 October 2017
- ComplexRoot( <Polynomial> )
- Finds the complex roots of a given polynomial in x. Points are created in 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.