Difference between revisions of "ComplexRoot Command"
From GeoGebra Manual
m |
(command syntax: changed [ ] into ( )) |
||
(One intermediate revision by one other user not shown) | |||
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 | + | :{{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 | + | :{{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 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.