The first 50 gets you to 50*(160) = 8000 in revenue.
After that, the revenue, R = (n)(160-2(n-50)) = -2n2 + 260n (a continuous function. If it doesn't give an integer answer, we just need to check on both sides in order to find the max.
Anyways, you can take the first derivative, set it equal to 0, and solve for n. It will be the n which gives you the greatest revenue.
Adam B.
07/14/21