How much should be spent on advertising to maximize sales? What is the maximum sales level?

S(x) = 200x + 1,500 / 0.02x^2 + 5

critical point is 10 and -25

Formaximum sale of 500 units

this is what I have I just dont know what to plug in for advertising cost