Artificial intelligent assistant

Maximize the Revenue? I have no idea where to start on this question, and I really need help. A large hotel finds that it can rent $100$ rooms when it charges $\$80$ per room. For each $\$1$ increase in room cost it rents one room less. (Likewise, for each $\$1$ decrease in room cost it rents one room more.) What price should it charge in order to maximize the revenue?

**Hint:** Let $n$ be the number of one-dollar increases in the room rate. Then the room rate is $$80+n$$ and the number of rooms rented is $$100-n.$$

You should be able to find the value of $n$ that maximizes the revenue function $$R(n)=(80+n)(100-n)=8000+20n-n^2.$$ Once the optimal $n$ is determined, the corresponding price is $80+n$.

**Hint 2:** Complete the square to rewrite the revenue function as $$R(n) = 8100-(n-10)^2. $$

From this, you can see that the revenue is maximized when $n-10$ is zero, because if it is anything other than zero you will be subtracting it from $8100$ to get the revenue, so the revenue will be strictly less than $8100$ if $n-10$ is not zero.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy c010f8d01c8fc5e7ae41846e8e045a46