Previous Up Next

2.25.16  Number of zeros in [a,b[ : sturmab

sturmab takes four arguments: a polynomial expression P, a variable name and two real or complex numbers a and b

Input :

sturmab(x^2*(x^3+2),x,-2,0)

Output :

1

Input :

sturmab(x^3-1,x,-2-i,5+3i

Output :

3

Input :

sturmab(x^3-1,x,-i,5+3i

Output :

1

Warning !!!!
P is defined by its symbolic expression.
Input :
sturmab([1,0,0,2,0,0],x,-2,0),
Output :
Bad argument type.


Previous Up Next