This C program is to find the roots of a quadratic equation and check if they are real,distinct or imaginary(complex number).For example, if we want to find roots of a quadratic equation with a=1 b=2 c=3 then we get imaginary roots as root1 = -1.000000+ i 1.414214 & root2 = -1.000000 – i 1.414214.

This C program is to find the roots of a quadratic equation and check if they are real,distinct or imaginary(complex number).For example, if we want to find roots of a quadratic equation with a=1 b=2 c=3 then we get imaginary roots as root1 = -1.000000+ i 1.414214 & root2 = -1.000000 – i 1.414214.

 

Leave a Comment

Your email address will not be published. Required fields are marked *