| Hosted by CoCalc | Download
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]