Given the function of the profit P(x)
![P(x)=150x-x^2](https://img.qammunity.org/2023/formulas/mathematics/college/koqe2x8awms2f10mxbsgdzgg0ourqfy2l5.png)
Part (b):
We will find the number of cases of pies to maximize the profit.
the given function has a negative leading coefficient and from part (a) the function will be zero when x = 0 and x = 150
Form the symmetry of the quadratic function, the maximum point will be in the middle between x = 0, and x = 150
so, the middle point will be as follows:
![x=(0+150)/(2)=75](https://img.qammunity.org/2023/formulas/mathematics/college/qemx0ru96hilvgbi647vb2xth5ks2amsf9.png)
So, the maximum profit will be at x = 75
Substitute x = 75 into P(x)
![P(75)=150*75-75^2=5625](https://img.qammunity.org/2023/formulas/mathematics/college/5am0ksves2onr1fe8j8tf1t25klnoku0mq.png)
So, the answer will be:
The number of cases of pies to maximize the profit = 75
The maximum profit = $5625