I have added an equation to calculate the exact amount of gallons left in the tank to inform the driver.