Here, we are asked to find after how many seconds (t) is the ball's height (s) 12 feet above the moon's surface.
Using the equation:
s(t) = -2.7t^2 + 30t + 6.5
When s=12, rearrange the equation to make it equal to 0:
12 = -2.7t^2 + 30t + 6.5
0 = -2.7^2 + 30t - 5.5
Using the quadratic formula, plug in the values a = -2.7, b = 30, c = -5.5
x = [ -b +/- sqrt(b^2 - 4ac) ] / 2a
x = [ -30 +/- sqrt (30^2 - 4*-2.7*-5.5) ] / 2*-2.7
solve for the 2 values of x:
x = [ -30 +/- sqrt(840.6) ] / -5.4
x = [ -30 +/- 28.99 ] / -5.4
x = 0.19, 10.92
The reason there are two solutions is because when you throw a ball in the air it goes up first, then down. When you throw it up it will reach 12 feet on the way up after a short time, then again as the ball is on the way down after a longer time.