summaryrefslogtreecommitdiff
path: root/698/CH4/EX4.5/P5_curved_link_with_trapezium_cross_section.sce
blob: 26f7f3b21b7589e0074c95a173bc524ed3fbb4c9 (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
30
31
32
33
34
35
36
37
38
clc
//Example 4.5
//Curved link with trapezium cross-section

//------------------------------------------------------------------------------

//Given data
ro=0.1 //m
ri=0.05 //m
h=0.05 //m
bo=0.025 //m
bi=0.05 //m
P=15000 //N
A=(bi+bo)*h /2

res5=mopen(TMPDIR+'5_curved_link_with_trapezium_cross_section.txt','wt')
mfprintf(res5,'(a) Maximum stress occurs at internal radius of link\n\tSi=(M*hi)/(A*e*ri)\n\n')

mfprintf(res5,'(b)To determine e:\n\t')
mfprintf(res5,'rn=((bi+bo)/2)*h / ((((bi*ro - bo*ri)/h)*log(ro/ri)) - (bi-bo))\n')
rn=((bi+bo)/2)*h / (((((bi*ro - bo*ri)/h)*log(ro/ri)) - (bi-bo)))
mfprintf(res5,'\t=%0.4f mm\n\n',rn* 10^3)
mfprintf(res5,'\tR=ri+ (h*(bi+ 2*bo))/(3*(bi+bo))\n')
R=ri+ (h*(bi+ 2*bo))/(3*(bi+bo))
mfprintf(res5,'\t=%0.4f mm\n\n',R* 10^3)
e=R-rn
mfprintf(res5,'\te=R-rn =%0.4f mm\n\n',e* 10^3)

mfprintf(res5,'(c)Finding the stress\n')
M=P*R
hi=rn-ri
Si=(M*hi)/(A*e*ri)
mfprintf(res5,'\tSi=%0.3f Mpa',Si* 10^-6)

mclose(res5)
editor(TMPDIR+'5_curved_link_with_trapezium_cross_section.txt')
//------------------------------------------------------------------------------
//-----------------------------End of program-----------------------------------