- #1
ReddbullJesus
- 2
- 0
Homework Statement
A hotel chain charges $95 each night for the first two nights and $55 for each additional nights stay. The total cost T is a function of the number of nights x that a guest stays.
(a) Find the expressions for a and b in the piecewise function
(b) Find T(2), T(3), and T(5)
Homework Equations
T(x)={a if 0 <_ x <_ 2
b if x > 2
The Attempt at a Solution
I figured the expression for a is a = 95x. Now, webassign.com says b = 55x + 80. I originally had 55x + 190, but now I understand why that is wrong. However I don't understand why its 80? How did it arrive there?
For the second part I know to just plug in 2 into equation a and 3 and 5 into equation b for x.
Thanks in advance for the help