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)=2120 n2n240=0  a=1;b=1;c=240 D=b24ac=1241(240)=961 D>0  n1,2=2ab±D=21±961 n1,2=21±31 n1,2=0.5±15.5 n1=16 n2=15   Factored form of the equation:  (n16)(n+15)=0 

Solution in text:

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

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

n1 = 16
n2 = -15

P = {16; -15}