The cost to produce bottled spring water is given by $C(x)=16 x-63,$ where $x$ is the number of thousands of bottles. The total income (revenue) from the sale of these bottles is given by the function $R(x)=-x^{2}+326 x-7463$. since profit $=$ revenue $-$ cost, the profit function must be $P(x)=-x^{2}+310 x-7400$ (verify).
how many bottles sold will produce the maximum profit? What is the maximum profit?