Answer:
The equation to find the number of gallons purchased is:
[tex]C(n) = 3.05n[/tex]
You purchased 12 gallons of gasoline
Step-by-step explanation:
This problem can be modeled by the following first order function
[tex]C(n) = P_{G}n[/tex]
Where C(n) is the cost in function to the number of gallons, P is the price of the gallon and n is the number of gallons
The problem states that the price of gasoline is $3.05 per gallon, so P = 3.05
The equation to find the number of gallons purchased is:
[tex]C(n) = 3.05n[/tex]
If you pay $36.60, you have C = 36.60, and want to find n, so:
[tex]36.60 = 3.05n[/tex]
[tex]n = \frac{36.60}{3.05}[/tex]
[tex]n = 12[/tex]
You purchased 12 gallons of gasoline