"If you're writing your own acceleration simulation and defining top speed as that where a = 0, be prepared to continually rewrite the whole thing as you decide that something else is important enough to consider."
I have done this recently, started out as a perfectly simple gear ratio calculator and somehow ended up as a comparison tool to compare different setups taking into account weight, tyre profiles gear ratios and a full two step power curve 'I am a Honda fan and wanted something that could represent a VTEC power curve' to give distance and time measurements for half, quarter and full mile drags, 0-60, 0-100, 40-80 and top speed runs.
Unfortunately it is of limited accuracy as it ended up with Excel telling me I could not add any more variables as there was no more space in the cells!
Monster task though, the spreadsheet weight in 6MB!