A company that operates for 18 hours a day has introduced a new daily wage system that incorporates variable hourly rate to encourage longer shifts. The company pays $10 for first hour or any part of the first hour. Afterwards, company pays additional 2% per hour for each hour or part of each additional hour. Write a piece-wise function that shows the salary as a function of hours.
At first houre person gets 10$. So if "t\\le1" S(t)=10
At the next hours person gets 10t+0.02x10x(t-1)=10t+0.2(t-1) if t>1
Comments
Leave a comment