5.8k views
2 votes
The cost to fill a car's tank with gas and get a car wash is a linear function of the capacity of the tank.

The costs of a fill-up and a car wash for three different customers are shown in the table. Write an equation for the function in slope-intercept form. Then, find the cost of a fill-up and a car wash for a customer with a truck whose tank size is 25 gallons.

The cost to fill a car's tank with gas and get a car wash is a linear function of-example-1
User Jimmy KD
by
8.5k points

1 Answer

7 votes

The cost of a fill-up and a car wash for a customer with a truck whose tank size is 25 gallons is $51.00.

The cost to fill up a car's tank with gas and get a car wash is a linear function of the capacity of the tank.

This means that the cost increases as the tank size increases, but the rate at which the cost increases is constant.

The image shows a table of the costs of a fill-up and a car wash for three different customers with tank sizes of 8 gallons, 12 gallons, and 20 gallons, respectively.

We can use this information to write an equation for the linear function in slope-intercept form, which is y = mx + b, where m is the slope of the line and b is the y-intercept.

To find the slope of the line, we can use the following formula:

slope = (change in y) / (change in x)

In this case, the change in y is $41.50 - $18.70 = $22.80, and the change in x is $20 - $8 = 12$ gallons.

Therefore, the slope of the line is $22.80 / 12 = 1.90$.

To find the y-intercept, we can substitute one of the points from the table into the equation y = mx + b. For example, we can use the point (8, 18.70).

18.70 = 1.90 * 8 + b

Solving for b, we get:

b = 3.50

Therefore, the equation for the linear function in slope-intercept form is y = 1.90x + 3.50.

Thus, the cost of a fill-up and a car wash for a customer with a truck whose tank size is 25 gallons is $51.00.

User GeekyMonkey
by
8.2k points