Let t represent the hours and let f(t) be the salary as function of hours t.
For the first hour or any part of the first hour;
f(t)=10   0<t≤1 
For the additional hours. That is 1<t≤18 
f(t)=10+(2%×10)(t−1)f(t)=10+0.2t−0.2f(t)=9.8+0.2t 
Hence the piece-wise function representing the salary is\\
f(t)={10                    0<t≤19.8+0.2t        1<t≤18 
The graph is as follows
Comments