What are the solutions for x when y is equal to 0 in the following quadratic function?

y=x^2+10x-24

A. x = –4 or x = –6
B. x = –6 or x = 4
C. x = –2 or x = 12
D. x = –12 or x = 2
E. no real solutions

wait is this D?

x^2+10x-24 = 0

(x+12)(x-2) = 0

Looks like D to me.

To find the solutions for x when y is equal to 0 in a quadratic function, you need to solve the equation by using the factoring method or the quadratic formula. Let's solve this equation using the factoring method:

Given equation: y = x^2 + 10x - 24

To find the solutions for x, we set y equal to 0:

0 = x^2 + 10x - 24

Next, we try to factorize the quadratic equation. Looking at the coefficients, we need two numbers that multiply to give -24 and add to give 10. The numbers are 12 and -2.

0 = (x + 12)(x - 2)

Now, we can set each factor equal to zero and solve for x:

x + 12 = 0 --> x = -12
x - 2 = 0 --> x = 2

The solutions for x when y is equal to 0 are x = -12 and x = 2.

Therefore, the correct answer is option D. x = –12 or x = 2.