summaryrefslogtreecommitdiff
path: root/3886/CH6/EX6.4/6_4.sce
blob: 5d11d01d4b12d4018e3fe55b7241ff8636143a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//determine law of machine and maximum efficiency
//fig.6.4 shows graph of effort vs load
//from graph
C=10  //N
//slope 
m=30/500
//Law of machine is P=m*W+C
//P=0.06*W+10
//eta=MA/VR=W/25P
//table 6.5 shows calculation of efficiency for various loads 
//Refer fig. 6.5
//from graph it can be seen that maximum efficiency=50% but the graph is plotted for infinitely large load
//thus
//Maximum efficiency
VR=25
Emax=100/(m*VR)  //percent
printf("\nLaw of machines is P=0.06*W+10\nMaximum efficiency=%.2f percent",Emax)