Compute the discriminant of a quadratic equation and the nature of its roots.
输入二次项系数 a、b、c,求判别式。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Discriminant | Delta = b^2 - 4ac for the equation ax^2 + bx + c = 0 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Number of real roots | Delta > 0: two distinct real roots; Delta = 0: a repeated real root; Delta < 0: no real roots | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Quadratic formula | x = ( -b ± sqrt(Delta) ) / (2a) | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Viete formulas | x1 + x2 = -b/a; x1 · x2 = c/a | Viete F. (1591), In artem analyticem isagoge |