Contents
Stopping Distance
Calculate the stopping distance and compare with approximation. Assume a flat surface with no incline. Assume good and dry road conditions, good tyres and good brakes.
clear;close all;clc;
Set Parameters
g=9.8;
mu=0.8;
v=[10:10:100]';
tr=1.5*ones(length(v),1);
Calculation
rd=v*1000/60/60.*tr;
bd=(v*1000/60/60).^2/2/mu/g;
sd=rd+bd;
Approximation
aprd=fix(v/10).*tr*3;
apbd=fix(v/10).^2*0.4;
apsd=aprd+apbd;
Results
A=[v tr rd aprd bd apbd sd apsd];
Print Results
fprintf('speed reaction reaction approx reaction braking approx braking stopping approx stopping\n');
fprintf('(km/h) time (s) distance (m) distance (m) distance (m) distance (m) distance (m) distance (m)\n');
fprintf('------------------------------------------------------------------------------------------------------------------\n');
fprintf('%3.0f %2.2f %5.2f %5.2f %5.2f %5.2f %5.2f %5.2f\n', A');
speed reaction reaction approx reaction braking approx braking stopping approx stopping
(km/h) time (s) distance (m) distance (m) distance (m) distance (m) distance (m) distance (m)
------------------------------------------------------------------------------------------------------------------
10 1.50 4.17 4.50 0.49 0.40 4.66 4.90
20 1.50 8.33 9.00 1.97 1.60 10.30 10.60
30 1.50 12.50 13.50 4.43 3.60 16.93 17.10
40 1.50 16.67 18.00 7.87 6.40 24.54 24.40
50 1.50 20.83 22.50 12.30 10.00 33.14 32.50
60 1.50 25.00 27.00 17.72 14.40 42.72 41.40
70 1.50 29.17 31.50 24.11 19.60 53.28 51.10
80 1.50 33.33 36.00 31.49 25.60 64.83 61.60
90 1.50 37.50 40.50 39.86 32.40 77.36 72.90
100 1.50 41.67 45.00 49.21 40.00 90.88 85.00
Plot Results
figure;
plot(v,sd,'b-',v,apsd,'ro');
grid on;
xlabel('speed (km/h)');
ylabel('stopping distance (m)');
title('Stopping Distance');
legend('calculated','approximate','location','nw');