Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Nroots Calculator

Nroots

Function: nroots (<p>, <low>, <high>) Returns the number of real roots of the real univariate polynomial <p> in the half-open interval (<low>, <high>]. The endpoints of the interval may be minf or inf. infinity and plus infinity.

p: x^10 - 2*x^4 + 1/2;
 nroots (p, -6, 9.1);

nroots uses the method of Sturm sequences.

          (%i1) p: x^10 - 2*x^4 + 1/2$
          (%i2) nroots (p, -6, 9.1);
          (%o2)                           4

(%o1)                                true
(%i2) 

Nroots Example

Related Examples

nroots

f(x):= 2*%e^{-x}-x^2/...

nroots( f,1,3);

Calculate

nroots

f=(-76405613988019467...

nroots(f, -1, 1/2);

Calculate

nroots

p: x^10 - 2*x^4 + 1/2;

nroots (p, -6, 9.1);

Calculate

nroots

f(x):= 2*%e^{-x}-x^2/...

nroots( f,1,3);

Calculate

nroots

f=(-76405613988019467...

nroots(f, -1, 1/2);

Calculate

nroots

p: x^10 - 2*x^4 + 1/2;

nroots (p, -6, 9.1);

Calculate