Manual

Functions and commands 331
Zeros With an expression as argument, returns the real zeros of the
expression; that is, the solutions when the expression is set
equal to zero.
With a list of expressions as argument, returns the matrix
where the rows are the real solutions of the system formed by
setting each expression equal to zero.
zeros(Expr,[Var]) or zeros({Expr1,
Expr2,…},[{Var1, Var2,…}])
Example:
zeros(x^2-4) returns [-2 2]
Complex Solve Returns a list of the complex solutions to a polynomial
equation or a set of polynomial equations.
csolve(Eq,[Var])
or
csolve({Eq1, Eq2,…}, [Var])
Example:
csolve(x^4-1=0, x) returns {1 -1 -i i}
Complex Zeros With an expression as argument, returns a vector containing
the complex zeros of the expression; that is, the solutions
when the expression is set equal to zero.
With a list of expressions as argument, returns the matrix
where the rows are the complex solutions of the system formed
by setting each expression equal to zero.
cZeros(Expr,[Var]
or
cZeros({Expr1, Expr2,…},[{Var1, Var2,…}])
Example:
cZeros(x^4-1) returns [1 -1 -i i]
Numerical Solve Returns the numerical solution of an equation or a system of
equations.
nSolve(Eq,Var) or nSolve(Expr, Var=Guess)
Example:
nSolve(cos(x)=x,x=1.3) gives 0.739085133215