Quadratic Equation Solver
A quadratic equation is a polynomial equation of the 2nd degree. It's basic form is this:
ax2 + bx + c = (x - x1)(x - x2)
And the solutions are calculated: x1/2 = | − b ± √ b2 - 4ac | 2a |
The Solution Will Appear Here! Free JavaScripts provided by The JavaScript Source
There are few more things you should know. The expression under the square root is called the discriminant: D = b2 - 4ac
There are 3 possible cases: - If D > 0, both roots are real numbers.
- If D = 0, then there is exactly one root, aka called a double root
- If D < 0, (non-real) complex conjugates roots
|