Quadratic equation calculator

Quadratic equation has the basic form: ax2+bx+c=0
eq2
Enter the quadratic equation's coefficients a, b, and c of its basic standardized form. A solution of quadratic equations is usually two different real or complex roots or one double root — the calculation 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}