Using a linear function, it is found that Company D would have given you the best deal for 7 hours of moving.
What is a linear function?
A linear function is modeled by:
y = mx + b
In which:
- m is the slope, which is the rate of change, that is, by how much y changes when x changes by 1.
- b is the y-intercept, which is the value of y when x = 0, and can also be interpreted as the initial value of the function.
In this problem, we consider:
- The flat fee as the y-intercept.
- The hourly rate as the slope.
Hence the costs for x hours of moving from each company are given as follows:
For 7 hours, the costs are given as follows:
- A(7) = 50 + 25 x 7 = $225.
- B(7) = 40 + 30 x 7 = $250.
- C(7) = 60 + 20 x 7 = $200.
- D(7) = 150 + 5 x 7 = $185.
Due to the lower cost, Company D would have given you the best deal for 7 hours of moving.
More can be learned about linear functions at https://brainly.com/question/24808124
#SPJ1