Difference between revisions of "ComplexRoot Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(12 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} |
− | {{command|function}} | + | ;ComplexRoot( <Polynomial> ) |
− | ;ComplexRoot | + | :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>}} | |
− | :{{ | ||
− | |||
==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> | + | {{note| 1=<div>Use [[CSolve Command]] instead.</div>}} |
− | |||
− | |||
− | </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 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.