suivant: Numeric factorization of a
monter: Numerical computations
précédent: fsolve with the option
Table des matières
Index
Numeric roots of a polynomial : proot
proot takes as argument a squarefree polynomial,
either in symbolic form or as a list of
polynomial coefficients (written by decreasing order).
proot returns a list of the numeric roots of this polynomial.
To find the numeric roots of
P(x) = x3 + 1, input :
proot([1,0,0,1])
or :
proot(x^
3+1)
Output :
[0.5+0.866025403784*i,0.5-0.866025403784*i,-1.0]
To find the numeric roots of x2 - 3, input :
proot([1,0,-3])
or :
proot(x^
2-3)
Output :
[1.73205080757,-1.73205080757]
giac documentation written by Renée De Graeve and Bernard Parisse