We know objects are expanding when the temperature goes up. Therefore, I always think that I should fill in my gasoline in my car in the early morning so that I could have more gasoline when I spend the same money. But how much really we could gain if the temperature changes fill in gasoline at 60°F instead of 80°F (this is actually the changes of temperature at Berkeley during the morning and noon). I want to have a rough estimation of what's the difference between the amount of gasoline when I fill in at different times of the day. To calculate the change of the gasoline, we need to use the physics that we learned in high school, the basic equation is the following one, that relates the volume change of an object to the temperature change.
= T
V is the change of the volume, and is the average coefficient of volume expansion, and the V is the initial volume of the object, and T is the change of the temperature. Therefore, all we need to do is to find the coefficient of volume expansion, and it is °, that is °. Now, let’s assume that we fill in 10-gallon gasoline in the morning at 60°F and how much it will be at noon (80°F)
delta_v = 5.33e-4 * 10 * (80-60)
print('We gain %.2f gallon gasoline, \nif we fill in the morning instead of noon.'%delta_v)
We gain 0.11 gallon gasoline,
if we fill in the morning instead of noon.
Well, it is 0.11-gallon difference if we fill in 10-gallon gasoline in the morning (that is, we will have 10.11 gallon at noon when temperature increases to 80°F). Let’s calculate how much we potentially can save if we drive our car for certain distances.
Let’s say your car’s average MPG is 30, for 150,000 miles, we need 150,000 / 30 = 5000-gallon gasoline. The difference of gasoline will be gallon.
































































