Solves the linear equation
Ax^2 + Bx + C = 0
for x.
I searched about “Quadratic Equation” topic and used exists source and code to implement this web page to calculate roots of Quadratic Equation with supporting Complex Number.
A X2 + B X1 + C = 0
Demo: https://basemax.github.io/QuadraticEquationCalculator/quadratic.html