184k views
5 votes
You have a summer job that pays time and a half for overtime. that is if you work more than 40 hours per week,your hourly wage for the extra hours is 1.5 times your normal hourly wage is $7. What is the correct piecewise function?

User Aryaman
by
7.3k points

1 Answer

5 votes
There are a number of ways you can write the piecewise function. Here is one of them:


p(t)=\left\{\begin{array}{rcl}7t&\mbox{for}&t\leq40\\10.5t-140&\mbox{for}&t>40\end{array}\right.

It could also be something like
p(t) = 7t + 3.50×max(0, t-40)
where the max(x,y) function returns the larger of x or y.
User Sachin Thapa
by
7.8k points