Calculator for the quadratic equation:

0 = ax^{2} +
bx + c

a = | b = | c = |

The above program will calculate solutions to the quadratic equation.

- Enter values for
the coefficients
,**a**, and**b**.**c** - Click the '
**Calculate**' button. - The roots of the quadratic equation will pop up.

These values for * x*
are calculated using the solution to the quadratic equation,
which is:

The derivation of the above equation is available here.

Of course, the coefficient * 'a'*
must be non-zero for this to be a quadratic equation.
Solutions are only calculated when

Click this button to see the actual JavaScript code that executes on this page: