# Cubic Equation Calculator

A cubic equation has the form ax^{3} + bx^{2} + cx + d = 0. It is defined as third degree polynomial equation. It must have the term in x^{3} or it would not be cubic but any or all of b, c and d can be zero. The solutions of this cubic equation are termed as the roots or zeros of the cubic equation. All third degree polynomial equations will have either one or three real roots. Solve the roots of the third degree equation using this cubic equation calculator.

## Solve Third Degree Polynomial Equation

A cubic equation has the form ax^{3} + bx^{2} + cx + d = 0. It is defined as third degree polynomial equation. It must have the term in x^{3} or it would not be cubic but any or all of b, c and d can be zero. The solutions of this cubic equation are termed as the roots or zeros of the cubic equation. All third degree polynomial equations will have either one or three real roots. Solve the roots of the third degree equation using this cubic equation calculator.

Code to add this calci to your website

#### Cubic Equation Formula:

x_{1}=(- term1 + r_{13}*cos(q^{3}/3) )
x_{2}=(- term1 + r_{13}*cos(q^{3}+(2*Π)/3) )
x_{3}=(- term1 + r_{13}*cos(q^{3}+(4*Π)/3) )
**Where,**
discriminant(Δ) = q^{3} + r^{2}
term1 = √(3.0)*((-t + s)/2)
r_{13}= 2 * √(q)
q = (3c- b^{2})/9
r = -27d + b(9c-2b^{2})
s = r + √(discriminant)
t = r - √(discriminant)
This calculator will help you dynamically to calculate the roots of the cubic equation.