summaryrefslogtreecommitdiff
path: root/3886/CH16/EX16.4/16_4.sce
blob: 6c6ef94d55fe3c78e9d0409896bd1b8d3d3e71fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Power of a locomotive
//refer fig.16.7 (a) and (b)
v=(56*1000)/(60*60)  //m/sec
F=5*420/1000  //kN
W=420  //kN
P=F+W*(1/120)  //kN
//Power of Locomotive Pw
Pw=P*v  //kW (mistake in book)
u=15.556  //m/sec
//Resultant force parallel to the plane R
R=F+W*sind(theta)  //kN (Down the plane)
s=((420*(15.556^2))/(2*9.81*5.6))  //m
printf("Power of locomotive=%.4f kW\ns=%.4f m",Pw,s)
//The answers vary due to round off error