Using a linear function, it is found that the costs are given as follows:
- With r rides: C(r) = 20 + 4r.
<h3>What is a linear function?</h3>
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.
Considering the price of admission and the price per ride, the y-intercept is of 20 and the slope is of 4, the cost for r rides is given by:
C(r) = 20 + 4r.
Hence, for 6 rides, the cost is given by:
C(6) = 20 + 4 x 6 = $44.
More can be learned about linear functions at brainly.com/question/24808124
#SPJ1