summaryrefslogtreecommitdiff
path: root/3204/CH8/EX8.1/Ex8_1.sce
blob: 1b376902b31d671ea5dde22562ecc2d1dcc5885d (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
// Initilization of variables
V.R=6 // Velocity ratio
P=20 //N // Effort
W=100 //N // Load lifted
// Calculations
//(a)
P_actual=P //N
W_actual=W //N
M.A=W/P // where, M.A= Mechanical advantage
E=(M.A/V.R)*100 //% // Where E= efficiency
//(b)
// Now ideal effort required is,
P_ideal=W/V.R //N
// Effort loss in friction is, (Le)
Le=P_actual-P_ideal //N // Effort loss in friction
//(c)
// Ideal load lifted is,(W_ideal)
W_ideal=P*V.R //N 
// Frictional load/resistance,
F=W_ideal-W_actual // N
// Results
clc
printf('(a) The efficiency of the machine is %f percent \n',E)
printf('(b) The effort loss in friction of the machine is %f N \n',Le)
printf('(c) The Frictional load of the machine is %f N \n',F)