Answer:
Here, the given function,
----- (1)
For the maximum value of s(x),

Where s'(x) is the first derivative of S(x)
By differetiating equation (1) with respect to x,
We get,
S'(x)= 50 - 2x
⇒ For maximum value of S(x),

⇒ 50 - 2x = 0
⇒ 2x = 50
⇒ x = $ 25