algorithms.tutorialhorizon.com
Find the roots of Quadratic Equation – Java Program | Algorithms
Quadratic equation is in the form = ax2 + bx + c Discriminant (d) = b2 – 4ac Then roots are calculates using the equations below Root_1 = (-b + √d)/2a Root_2 = (-b - √d)/2a