What is the maximum value of the function?

g(x)=−x2+12x+45
Responses

-99

81

9

189

1 answer

The maximum value of the function is 81.

To find the maximum value of the function, we can use the vertex formula:

The x-coordinate of the vertex is given by:

x = -b/2a

where a = -1 and b = 12 in this case.

x = -12/2(-1)

x = 6

To find the y-coordinate of the vertex, we simply plug in x = 6 into the function:

g(6) = -(6)^2 + 12(6) + 45 = 81

Therefore, the maximum value of the function is 81.