Let a person work h hours for the company
Note if "0<h\\le 1" then the company pays $10
If "1<h\\le2" then the company pays $"10+10+\\frac{2*10}{100}"
If "2<h\\le 3" then the company pays $"10+10+10+\\frac{2*(3-1)*10}{100}"
="30+\\frac{2*(3-1)*10}{100}"
So for h hours the company pays "10*h+\\frac{2*(h-1)*10}{100}" ,h>0
So the function is;
"\\begin{cases}\n 10 &\\text{if } 0<h\\le1 \\\\\n 10+10+\\frac{1}{5} &\\text{if } 1<h\\le 2 \\\\\n10+10+10+\\frac{2}{5} &\\text{if } 2<h\\le 3 \\\\10+10+10+10+\\frac{3}{5} &\\text{if }3<h\\le 4\n\\end{cases}"
The graph is as below,
Comments
Leave a comment