summaryrefslogtreecommitdiff
path: root/3864/CH8/EX8.12/Ex8_12.sce
blob: 0a29dbff5e31cfda5b4356e17c836408f91bbec8 (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
39
40
41
42
43
clear
//
//

//Initilization of Variables

d_o=300 //mm //Outside diameter 
d2=200 //mm //Internal Diameter
p=12 //N/mm**2 //internal Fluid pressure
F_max=16 //N/mm**2 //Tensile stress
r_o=150 //mm //Outside Diameter
r2=100 //mm //Internal Diameter

//Calculations

//Let p_o be the External Pressure applied.
//From LLame's theorem
//p_x=b*(x**2)**-1-a   ..............(1)
//F_x=b*(x**2)**-1+a   ...........................(2)

//Now At
x=100 //mm
p_x=12 //N/mm**2
//sub in equation 1 we get
//12=b*(100**2)**-1-a    . ..................(3)

//The Max Hoop stress occurs at least value of x where
//16=b*(100**2)**-1+a      .......................(4)

//From Equations 1 and 2 we get
//28=b*(100**2)**-1+b*(100**2)**-1
//After furhter Simplifying we get
b=28*100**2*2**-1

//sub in equation 1 we get
a=-(12-(b*(100**2)**-1))

//Thus At
x2=150 //mm
p_o=b*(x2**2)**-1-a

//Result
printf("\n Minimum External applied is %0.2f  N/mm**2",p_o)