Calculate the cost of fuel for a specific trip or time period based on distance, fuel efficiency, and fuel price.