summaryrefslogtreecommitdiff
path: root/3862/CH6/EX6.16/Ex6_16.sce
blob: 7badb22ec37c2e15e48b3601617209bb8ea33cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//
p1=5.0   //Pitch of smaller screw
p2=10.0    //Pitch of larger screw
R=500.0     //Lever arm length from centre of screw
W=15000.0  //Load
P=185.0    //Effort
VR=2*3.14*R/(p2-p1)       //Velocity Ratio
MA=W/P         //Mechanical advantage
Efficiency=MA/VR*100.0

printf("\n Efficiency %0.3f percentage",Efficiency)