Hi all,
Im new to the forum

.
I am writing a application that displays predicted quarter mile preformance of cars based on power and weight.
I am attempting to add a visual display of the acceleration of the car. I have been using suvat equations but for some reason i cant seem to get the desired results (maybe because the car doesnt have a constant accelerations?).
given the following data:
distance = 402m
start speed = 0
end speed = 147mph / 65.71ms
acceleration = ???
time = 10 seconds
now for some reason, whenever i put the forumula into my program(or even on paper) the distance ends up as ~700m. and the time is usually much quicker than 10seconds??!?!
Im sure it must be something i am doing wrong. see my working below:
*************************
distance = startspeed*time + 0.5*a*t^2
dis = 403 (quartermile)
.: 403 = 0.5*a*10^2
.: 403/100 = 0.5*a
.: 4.03/0.5 = a
.: a= 8.6??????
*************************
endspeed = startspeed + at
.: 147 = 0 + a*10
.:147/10 = a
.: a= 14.7ms????
*************************
endspeed^2 - startspeed^2 = 2*a*d
.: 21609 - 0 = 2*a*403
.: 21609/2 = a*403
.: 10804.5/403 = a
.: a= 26.81
*************************
SO
As you can plainly see, i am no mathamitican

.
i get 3 completely different valuse for acceleration?!?!
To summerise, what i want to be able to do is get the total distance traveled at intervals of say 0.1 seconds using the data provided.
I know the car doesnt have constant acceleration but surly it can be converted into a constant accleration.
Thanks again
Neil.