summaryrefslogtreecommitdiff
path: root/3886/CH6/EX6.5/6_5.sce
blob: d21562520afa34080a4b1813c332d66f7dff92c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Lifting machine
VR=30
W=5000  //N
P=360  //N
MA=W/P
//efficiency
eta=MA*100/VR  //percent
printf("Since the efficiency eta=%0.2d percent is less than 50 percent,it is a self locking machine",eta)
//ideal load
Wi=P*VR  //N
//Frictional resistance
FR=Wi-W  //N
printf("\nIdeal load=%0.2d N\nFrictional resistance=%0.2d N",Wi,FR)