summaryrefslogtreecommitdiff
path: root/2123/CH3/EX3.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2123/CH3/EX3.3
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 '2123/CH3/EX3.3')
-rwxr-xr-x2123/CH3/EX3.3/Exa_3_3.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/2123/CH3/EX3.3/Exa_3_3.sce b/2123/CH3/EX3.3/Exa_3_3.sce
new file mode 100755
index 000000000..18a7d8a69
--- /dev/null
+++ b/2123/CH3/EX3.3/Exa_3_3.sce
@@ -0,0 +1,28 @@
+//Example No. 3.3
+clc;
+clear;
+close;
+format('v',8);
+
+//Given Data :
+v=60;//Km/hr
+w=400;//KN
+friction=5;//N/KN weight
+tan_theta=1/100;//inclination
+g=9.81;// gravity constant
+
+//Solution :
+sin_theta=tan_theta;
+W_sin_theta=w*1000*sin_theta;//N
+R=friction*W_sin_theta/10;//frictional resistance in N
+P=W_sin_theta+R;//N
+v=60*1000/60/60;//m/s
+Power=P*v;//Watt
+disp(Power/1000,"Final KW rating of the motor of train : ");
+Force=P;//down the inclined force in N
+u=v;//initial velocity in m/s
+v=0;//final velocity in m/s
+m=w*1000/g;//in Kg
+KE=1/2*m*u^2;//in Joule
+d=KE/P;//distance in meter
+disp(d,"Distance covered in meter : ");