Cubic Equation Solver
This page contains a routine that solves a Cubic Equation.
Once the problem is arranged into the following form (a, b, c, and d are known constants), the equation can be solved for values of x that satisfy the equation.
a x 3 + b x 2 + c x + d = 0
Since the equation is a third degree equation (the equation's highest power is three), there will be three solutions.
Input the values for a, b, c, and d below, and then click the "Calculate Solutions" button to have the results calculated.
NOTE: The solutions may include a non-zero imaginary component, as indicated by the "i" field.
Also, note the Error Code output.