|
01.31.2008, 12:39 PM
Something I've been toying with is the addition of code to estimate how much speed you lose due to wind resistance/drag. I know calculating this exactly is very difficult due to so many variables, but there's gotta be a rough estimate of speed loss.
Right now, I have a warning box that comes up if the final speed exceeds 45mph. What I was thinking is adding a reduction constant above 45mph. Basically use a formula something like:
mph_reduction = ( calc_speed - 45 ) X 0.4
So, for a top theoretical calculated speed of 60mph, the estimated actual speed would be closer to 54mph: ( 60 - 45 ) X 0.4 = 6mph loss. 60mph - 6mph = 54mph. It's just a matter of finding a constant (currently using 0.4) that is fairly close...
Whaddya think?
|