An extended stay hotel charges guests $160 per night for each of the first five nights. After the first five nights, the hotel c
harges $95 per night for each of the next five nights. Once a guest has stayed a total of 10 nights, the new rate is $50 per night thereafter. (a) What is the cost of staying 17 nights
Since the first two nights are each $75, if n≤2, the $75n
Since each additional night after that, is $50, if n>2, such a client pays $150 for the first 2 nights and $50 for each of the other n-2 nights for a total of $[150+50(n-2)] = $(50n+50)