Quadratic Equation Calculator

A quadratic equation has the basic form: ax2+bx+c=0
eq2
Enter the coefficients a, b, and c of the quadratic equation in its basic standardized form. The solution of a quadratic equation usually consists of two distinct real or complex roots, or one double root — calculated using the discriminant.


Calculation:

n(n1)=2171 n2n342=0  a=1;b=1;c=342 D=b24ac=1241(342)=1369 D>0  n1,2=2ab±D=21±1369 n1,2=21±37 n1,2=0.5±18.5 n1=19 n2=18   Factored form of the equation:  (n19)(n+18)=0 

Solution in text:

n2-n-342=0 ... quadratic equation

Discriminant:
D = b2 - 4ac = 1369
D > 0 ... The equation has two distinct real roots

n1 = 19
n2 = -18

P = {19; -18}