A hotel chain charges $80 each night for the first two nights and $50 for each additional night's stay. The total cost T is a function of the number of nights x that a guest stays.

a if 0 <=x<=2
b if x>2


(a) Find the expressions for a and b in the piecewise function defined above.


Respuesta :

[tex]\\a=80x,\,0 \leq x \leq 2 \\b=160+50x,\,x\ \textgreater \ 2 \\ \\f(x)= \left \{ {{a} \atop {b}} \right \\ \\f(x)= \left \{ {{80x,\,0 \leq x \leq 2} \atop {160+50x,\,x\ \textgreater \ 2}} \right. [/tex]