blob: 922d07b25e8b1aed0e1d24ce0cd0d0b1d64826da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Example 7.5: Acceleration
clc;
clear;
close;
//given data :
S=1;// in km
Vs=30;// in km/h
Ts=(S*3600)/Vs; // in sec
D=20;// duration of stop in sec
T=Ts-D;// in sec
Va=(S*3600)/T;// Average speed in km/h
Vm=1.25*Va;// Maximum speed in km/h
beta1=3;// braking retardation in km/h/sec
A=((Vm*T)-(S*3600))/Vm^2;
B=1/(2*beta1);
alfa=1/(2*(A-B));
disp(alfa,"The Acceleration,alfa(km/h/sec) = ")
|