Thread: Quick Math Help
View Single Post
  #4 (permalink)  
Old 08-08-2005, 01:40 PM
rjbarlow rjbarlow is offline
Conservative Republican
 
Real Name: Bob Barlow
Location: near Fredericksburg, Virginia
Hybrids: 2004 Honda Civic w/Manual Trans
Posts: 178
Default Re: Quick Math Help

Jason,

If I could to real math.... Never mind. Math was not my subject. I have not had a math class since 10th grade geometry in 1975. I never had Algebra II, or Trig, or Calc, but...

I think what you are talking about can be figured by taking miles for a given tank, divided by total miles, to get a percentage that tank represents of the total miles. Multiply that number by the mpg for that tank, and you get X. Do the equation again for another tank and you get X1, and again for another tank and you get X2, and again for another tank and you get X3.... Add X, X1, X2, X3, etc together, and you get an mpg for the total number of miles entered.

Am I making any sense? It frightens me to think I might be. Don't ask me how I came up with this. I don't know.

Bob

Quote:
Originally Posted by Jason
For the mileage database, a small display bug was pointed out. To rectify it, I need to calculate the MPG for the tanks that are logged. It's late and my brain is fried. Can anyone else figure out the equation?

Known: Lifetime MPG, Lifetime Miles, Starting MPG, Starting Miles, Tank Miles
Need: Tank MPG

This may be really easy, but at 1:45 after all I've been doing on this thing... can't think! Thanks.

.


Last edited by rjbarlow : 08-08-2005 at 01:46 PM.
Reply With Quote