blob: 3f1d56c77a6b9842e09170d0c11c3aea6d5c9cad (
plain)
1
2
3
4
5
6
7
8
|
//Time required//
pathname=get_absolute_file_path('9.07.sce')
filename=pathname+filesep()+'9.07-data.sci'
exec(filename)
//Time required to decelerate to 100 mph(in seconds):
t=(s1-s2)*2*w/(s1*s2)/Cd/d/A/g*3600/5280
printf("\n\nRESULTS\n\n")
printf("\n\nTime required to decelerate to 100 mph: %.3f seconds\n\n",t)
|