195k views
4 votes
Andrew is paid 4$ per hour for the first 30 hours he works each week. he makes 5$ per hour for each hour he works over 30 hours per week. in other words, total wages= fixed wages for 30 hours + additional wages at 5$ per hour.

Part A


Write a function that gives Andrews total wages when he works more than 30 hours. use the variables w for wages and h for hours.

User Abboq
by
7.9k points

1 Answer

2 votes

Answer: For the first 30 hours, Andrew will earn 4 (30) = $120. For each additional hour beyond 30 that Andrew works, he will earn 5 (h - 30). Therefore, the function that gives Andrew's total wages when he works more than 30 hours is

Step-by-step explanation: For the first 30 hours, Andrew will earn 4(30) = $120. For each additional hour beyond 30 that Andrew works, he will earn 5(h - 30). Therefore, the function that gives Andrew's total wages when he works more than 30 hours is:

w = 120 + 5(h - 30).

So, if he works 35 hours, he will earn:

120 + 5(35 - 30) = 120 + 5(5) = 120 + 25 = $145.

If he works 42 hours, he will earn:

120 + 5(42 - 30) = 120 + 5(12) = 120 + 60 = $180.

I hope this helps!

User Boris Barroso
by
7.6k points