A cubic equation has the form ax3 + bx2 + cx + d = 0. It is defined as third degree polynomial equation. It must have the term in x3 or it would not be cubic but any or all of b, c and d can be zero. Solve the roots of the cubic equation using this calculator.
q = (3c- b2)/9 r = -27d + b(9c-2b2) s = r + √(discriminant) t = r - √(discriminant) term1 = √(3.0)*((-t + s)/2) r13= 2 * √(q) x1=(- term1 + r13*cos(q3/3) ) x2=(- term1 + r13*cos(q3+(2*∏)/3) ) x3=(- term1 + r13*cos(q3+(4*∏)/3) )
This calculator will help you dynamically to calculate the roots of the cubic equation.