Consider the general quadratic equation ax2+bx+c=0
. The quantity b2-4ac
is called the discriminant
of the quadratic equation and determine the type of root which arises from a quadratic equation. When
b2-4ac > 0 The equation has two real roots.
b2-4ac < 0 The equation has no real roots.
b2-4ac = 0 The equation has one repeated root.
(If the discriminant
is negative, the roots are complex
, and this page can not display the complex number. The output will be "None").