Hacker News new | ask | show | jobs
by sebzim4500 1259 days ago
Prompt: solve x^2 + 11x + 30 = 0. Show your working

Answer: To solve this equation, we can use the quadratic formula:

x = (-b +/- sqrt(b^2 - 4ac)) / (2a)

Plugging in the values for a, b, and c, we get:

x = (-11 +/- sqrt(11^2 - 4130)) / (2*1)

x = (-11 +/- sqrt(121 - 120)) / 2

x = (-11 +/- sqrt(1)) / 2

x = (-11 +/- 1) / 2

x = -5 or x = -6

So the solutions to the equation are x = -5 and x = -6.