summaryrefslogtreecommitdiff
path: root/2123/CH3/EX3.3/Exa_3_3.sce
blob: 18a7d8a69089de7445c538bcfbbb100ec5508ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 : ");