summaryrefslogtreecommitdiff
path: root/764/CH12/EX12.6.b/solution12_6.sce
blob: 6411e914e417e0a11385e947a834352d9011d5b2 (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

//Obtain path of solution file
path = get_absolute_file_path('solution12_6.sce')
//Obtain path of data file
datapath = path + filesep() + 'data12_6.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the actuating force P (N)
P = (m * 9.81 * Rc)/(g * mu * Rb)
//Calculate the area of friction lining A (mm2)
A = P/pmax
//Calculate the peripheral velocity of the brake drum v2 (m/s)
v2 = pv/pmax
//Calculate the angular velocity of the brake drum w2 (rad/s)
w2 = v2/Rb
//Calculate the angular velocity of the cable drum w1 (rad/s)
w1 = w2/g
//Calculate the peripheral velocity of the cable drum v1 (m/s)
v1 = w1 * Rc
//Print results
printf("\nBrake shoe force(P) = %f N\n",P)
printf("\nArea of friction lining(A) = %f mm2\n",A)
printf("\nUniform velocity at which the mass can be lowered(v1) = %f m/s or %f m/min\n",v1,v1*60)