To represent the cost of your trips to the grocery store for donuts as a function, we can define a function \( C(n) \) where \( n \) is the number of donuts you buy.
Breakdown of Costs:
- Taxi Round Trip Cost: $7.00
- Cost per Donut: $0.50
Total Cost Calculation:
The total cost of the trip, which includes the taxi fare and the cost of donuts, can therefore be expressed as:
\[ C(n) = \text{Taxi Cost} + \text{Cost per Donut} \times n \]
Substituting Values:
\[ C(n) = 7.00 + 0.50n \]
Function Definition:
So, the function to represent your total cost when you buy \( n \) donuts is:
\[ C(n) = 7.00 + 0.50n \]
Summary:
- \( C(n) \): Total cost for the trip, depending on the number of donuts purchased.
- \( n \): Number of donuts bought.
- For any number of donuts \( n \), you can calculate the total cost of your trip using this function.