summaryrefslogtreecommitdiff
path: root/2213/CH7/EX7.5/ex_7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2213/CH7/EX7.5/ex_7_5.sce')
-rwxr-xr-x2213/CH7/EX7.5/ex_7_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2213/CH7/EX7.5/ex_7_5.sce b/2213/CH7/EX7.5/ex_7_5.sce
new file mode 100755
index 000000000..922d07b25
--- /dev/null
+++ b/2213/CH7/EX7.5/ex_7_5.sce
@@ -0,0 +1,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) = ")