The profit p ( in hundreds of dollars ) that a company makes depends on the expenditure x ( in hundreds of dollars ) that the company spends advertising according to the model p(x) = -0.5x^2 +20x+230. What expenditure for advertising will yield maximum profit?