Sharedsupport / 2014-11-30-solve.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.

See http://www.quora.com/Where-can-I-solve-polynomials-With-steps-Any-app-or-website

solve(x^3 - 4*x^2 + 6*x -24 == 0,x)
[x == -I*sqrt(6), x == I*sqrt(6), x == 4]
show(solve(x^3 - 4*x^2 + 6*x -24 == 0,x))
[x=i6,x=i6,x=4]\left[x = -i \, \sqrt{6}, x = i \, \sqrt{6}, x = 4\right]
import sympy x = sympy.var('x') sympy.solve(x^3 - 4*x^2 + 6*x - 24,x)
[4, -sqrt(6)*I, sqrt(6)*I]