Answer:
f(x)= { 23x, 0<x<=40
2120-30x, x>40 }
Explanation:
A leasing agent makes $23 an hour for the first 40 hours he works during a week and $30 an hour for each hour over 40 hours.
In piecewise function , we write two functions
one for first 40 hours and another for more than 40 hours
A leasing agent makes $23 an hour for the first 40 hours he works during a week . LEt x be the number of hours worked
So f(x)= 23x, 0<x<=40
$30 an hour for each hour over 40 hours.
40-x represents the hours more than 40. we need total weekly pay. so we add the weely pay for 40 hours as well
f(x)= 30(40-x) +23*40, x>40
f(x)= 1200-30x+920, x>40
f(x)= 2120-30x, x>40
Now we write piecesise funtion
f(x)= { 23x, 0<x<=40
2120-30x, x>40 }