Quadratic Equation Solver Online [Calculator]
The formula to solve a quadratic equation is
-b + √(b2 - 4ac) r = ______________ 2a
Note: We will add the support for complex roots soon.
The term b2 - 4ac is called as discriminant and is of very importance. Depending on the value of discriminant we can tell the nature of the roots of the quadratic equation where a, b and c are the rational numbers.
If value of discriminant (d) is
The discriminant is useful if we want to know the nature of the roots instead of actually calculating them.- Zero (0) - the equation has real root
- greater than zero (d > 0) - the equation has real and distinct roots
- less than zero (d < 0) - the equation has imaginary roots
If you want C programming language code to find roots of quadratic equation check out this article at C program to find roots of a quadratic equation.
Comments
Post a Comment