Please help, I am stuck?

enter image source here

1 Answer
Feb 7, 2018

#"if "0 <= x<=32" then "$25xx x#

#"if "x> 32" then "$25[color(white)("d")32+1.5(x-32)]#

Domain (input) for all #->x>=0#
Domain for overtime #->x > 32#

Explanation:

Let the total weekly hours worked be #x#

#color(brown)("Standard rate with no overtime - full week")#

$25 per hour at 32 hours per week #->$25xx32#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#color(brown)("Standard rate with overtime - full week")#

$25 per hour at 32 hours per week #->$25xx32#

If overtime then #x>32#

Overtime at time and a half #->$25xx(x-32)xx1.5#

So for overtime included we have:

#($25xx32)+($25xx1.5xx(x-32))#

#$25[color(white)("d")32+1.5(x-32)color(white)("d")]#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#"if "x<=32" then "$25xx x#

#"if "x> 32" then "$25[color(white)("d")32+1.5(x-32)]#

Note that #$25xx 1.5 -> $25.00#
#color(white)("dddddddddd.ddddddd")ul($12.50 larr" Add")#
#color(white)("dddddddddddddddddd") $37.50# per hour

Tony B