Using a linear function, it is found that he drove the truck for 240 miles.
A linear function is modeled by:
y = mx + b
In which:
Researching the problem on the internet, there was a base fee of $18.99, which is the y-intercept, and there was an additional charge of 75 cents for each mile driven, which is the slope, hence the cost function for m miles driven is given by:
C(m) = 18.99 + 0.75m.
He paid $199, hence the number of miles he drove is found as follows:
C(m) = 18.99 + 0.75m.
199 = 18.99 + 0.75m
m = (199 - 18.99)/0.75
m = 240 miles.
More can be learned about linear functions at https://brainly.com/question/24808124
#SPJ1