The cost function is a linear function of the form $y = mx + b$, where $m$ is the cost per mile and $b$ is the fixed cost per day.
For the first company, the cost function is $y_{1}=40+0.15x$, where $x$ is the distance traveled in miles.
For the second company,
Show more…