summaryrefslogtreecommitdiff
path: root/3864/CH8/EX8.12
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3864/CH8/EX8.12
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3864/CH8/EX8.12')
-rw-r--r--3864/CH8/EX8.12/Ex8_12.sce43
1 files changed, 43 insertions, 0 deletions
diff --git a/3864/CH8/EX8.12/Ex8_12.sce b/3864/CH8/EX8.12/Ex8_12.sce
new file mode 100644
index 000000000..0a29dbff5
--- /dev/null
+++ b/3864/CH8/EX8.12/Ex8_12.sce
@@ -0,0 +1,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)