Previous Up Next

5.60.7  Equation solving in ℂ: cSolve

cSolve takes two arguments and solves an equation or a system of polynomial equations.

Input:

cSolve(x^4-1=3)

Output:

[sqrt(2),-(sqrt(2)),(i)*sqrt(2),-((i)*sqrt(2))]

Input:

cSolve([-x^2+y=2,x^2+y],[x,y])

Output:

[[i,1],[-i,1]]

Previous Up Next