When driving to the beach, you drive 240 miles on 9 gallons of gas. When you arrive at the beach you fill up your gas tank. While there you drive 130 miles and use 5.8 gallons of gas. Round answers to 2 decimal places.

What was your gas mileage driving to the beach?

What was your gas mileage during your stay at the beach?

Did you get better gas mileage driving to the beach or during your stay?

240/9 = 26.6667 mpg

130/5.8 = 22.414 mpg

To calculate gas mileage, we need to divide the distance traveled by the amount of gas used.

For the drive to the beach:
Gas mileage = Distance / Gas used
Gas mileage = 240 miles / 9 gallons
Gas mileage = 26.67 miles per gallon (rounded to 2 decimal places)

For the stay at the beach:
Gas mileage = Distance / Gas used
Gas mileage = 130 miles / 5.8 gallons
Gas mileage = 22.41 miles per gallon (rounded to 2 decimal places)

To compare the gas mileage for both trips, we can simply compare the values we calculated.

Gas mileage driving to the beach: 26.67 miles/gallon
Gas mileage during the stay: 22.41 miles/gallon

From these calculations, we can see that the gas mileage was better (higher) when driving to the beach compared to during the stay at the beach.