Previous Up Next

2.12.12  Complex zeros of an expression : cZeros

cZeros takes as argument an expression depending on x.
cZeros returns a list of comnplex values of x where the expression vanishes. The list may be incomplete in exact mode if the expression is not polynomial or if intermediate factorizations have irreducible factors of order strictly greater than 2.
Input in real or complex mode :

cZeros(x^2+4)

Output :

[-2*i,2*i]

Input :

cZeros(ln(x)^2-2)

Output :

[exp(sqrt(2)),exp(-(sqrt(2)))]

Input :

cZeros(ln(y)^2-2,y)

Output :

[exp(sqrt(2)),exp(-(sqrt(2)))]

Input :

cZeros(x*(exp(x))^2-2*x-2*(exp(x))^2+4)

Output :

[[log(sqrt(2)),log(-sqrt(2)),2]

Previous Up Next