ax + bx + c = 0

Input Coefficients

Solution

Steps to Solve

  1. The quadratic formula is: x = (-b ± √(b2 - 4ac)) / (2a)
  2. Substitute the values: a = 1, b = 5, c = 6 into the formula.
  3. This gives us: x = (-5 ± √(52 - 4(1)(6))) / (2(1))
  4. First, we solve the part under the square root, called the discriminant: Δ = b2 - 4ac = 52 - 4(1)(6) = 1.
  5. Since the discriminant is greater than 0, there are two distinct real solutions.
  6. x1 = (-5 + √1) / 2 = (-5 + 1.0000) / 2 = -2.0000
  7. x2 = (-5 - √1) / 2 = (-5 - 1.0000) / 2 = -3.0000