Quadratic equation in steps
Split the quadratic formula into named lines instead of entering one long expression. This example solves 3x² − 4x − 10 = 0.
| @1 | a = 3 | |
| @2 | b = -4 | |
| @3 | c = -10 | |
| @4 | discriminant = b ^ 2 - 4 * a * c | |
| @5 | rootPlus = (-b + sqrt(discriminant)) / (2 * a) | |
| @6 | rootMinus = (-b - sqrt(discriminant)) / (2 * a) |
How it works
- Enter the coefficients
a,b, andc. - Calculate the discriminant once and reuse it in both root lines.
- Compare
rootPlusandrootMinusas the two possible solutions.
Change one coefficient to explore how the discriminant changes the number and type of roots.