summaryrefslogtreecommitdiff
path: root/1325/CH6/EX6.7/6_7.sce
blob: d6a3e95dcb20686d649c6a99019e9a914c55bc80 (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
27
28
29
//to find the turning moment on the cranckshaft when a) friction at the bearing is neglected b)when u=0.5
clc
//given
P=6 //tons
u=0.05
theta=60//degrees
CP=80
Stroke=16//in
OC=Stroke/2
r1=7//in
r2=15//in
r3=4.4//in
//Radius of friction circle
ro=u*r1
rc=u*r2
rp=u*r3
phi=asind(OC*sin((theta)*%pi/180)/CP)
alpha=asind((rc+rp)/CP)
//a) without friction
Qa=P/cos((phi)*%pi/180)
Xa=OC*cos((30-phi)*%pi/180)//tensile force transmitted along the eccentric rod when friction is NOT taken into account
Ma=Qa*Xa/12
//b) with friction
Qb=P/cos((phi-alpha)*%pi/180)//tensile force transmitted along the eccentric rod when friction is taken into account
Xb=OC*cos((30-(phi-alpha))*%pi/180)-(rc+ro)
Mb=Qb*Xb/12
n=Mb/Ma
printf("Turning moment applied to OC:\na)Without friction= %.2f ton.ft\nb)With friction(u=0.05)= %.2f ton.ft",Ma,Mb)
printf("\nThe efficiency of the mechanism is %.2f ",n)