Quadratic equation calculator

Quadratic equation has the basic form:
ax2+bx+c=0

eq2
Enter the coefficients a, b, c of quadratic equation in 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:

52=(2+z)2+(z/2)2 1.25z24z+21=0 1.25z2+4z21=0  a=1.25;b=4;c=21 D=b24ac=4241.25(21)=121 D>0  z1,2=b±D2a=4±1212.5 z1,2=4±112.5 z1,2=1.6±4.4 z1=2.8 z2=6   Factored form of the equation:  1.25(z2.8)(z+6)=0 

Solution in text:

-1.25z2-4z+21=0 ... quadratic equation

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

z1 = 2.8
z2 = -6

P = {2.8; -6}