It is just a formula you can fill in that gives you roots. Root1 -b b2-4ac 2a root1 -b - b2-4ac 2a The term b 2 -4ac is known as the determinant of a quadratic equation. Python Program to find roots of a Quadratic Equation import math a intinputPlease Enter a Value of a Quadratic Equation.
C intinputPlease Enter c Value of a Quadratic Equation.
Ifd 0 printfRoots are complex numbern. A quadratic equation with real or complex coefficients has two solutions called rootsThese two solutions may or may not be distinct and they may or may not be real. B intinputPlease Enter b Value of a Quadratic Equation. When roots are given and the quadratic equation is sought write the roots with the correct sign to give you that root when it is set equal to zero and solved.