In mathematics, a quadratic equation is a polynomial equation of the second degree, whose algorithm can be designed using free algorithm tools like EdrawMax or EdrawMax Online. The general form of the quadratic equation is ax^2 + bx + c = 0, where x represents a variable or an unknown, and a, b, and c are constant with a ≠ 0. As shown in the below algorithm, a quadratic equation with real or complex coefficients has two solutions. These two coefficients may or may not be distinct, and they may or may not be confirmed. The outputs like R1 and R2 and imaginary roots will be printed.