summaryrefslogtreecommitdiff
path: root/2213/CH7/EX7.5/ex_7_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2213/CH7/EX7.5/ex_7_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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) = ")