summaryrefslogtreecommitdiff
path: root/3772/CH9/EX9.8/Ex9_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3772/CH9/EX9.8/Ex9_8.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3772/CH9/EX9.8/Ex9_8.sce')
-rw-r--r--3772/CH9/EX9.8/Ex9_8.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3772/CH9/EX9.8/Ex9_8.sce b/3772/CH9/EX9.8/Ex9_8.sce
new file mode 100644
index 000000000..ee7006551
--- /dev/null
+++ b/3772/CH9/EX9.8/Ex9_8.sce
@@ -0,0 +1,28 @@
+// Problem no 9.8,Page no.239
+
+clc;clear;
+close;
+
+D=0.038 //m //External diameter
+d=0.035 //m //Internal diameter
+P=20*10**3 //N //Load
+E=210*10**9 //Pa
+e=0.002 //m //Eccentricity
+L=1.5 //m //Lenght of tube
+
+//Calculations
+
+A=%pi*4**-1*(D**2-d**2) //m**2 column
+I=%pi*64**-1*(D**4-d**4) //m**4 //M.I of column
+m=(P*(E*I)**-1)**0.5
+
+//Let X=secmL*2**-1
+X=(1*(cos(m*L*2**-1))**-1)
+M=P*e*X //N-m //MAx Bending Moment
+sigma_1=P*A**-1*10**-6 //Pa //Direct stress
+sigma_2=M*0.019*I**-1*10**-6 //Pa //Bending stress
+
+sigma_c_max=(sigma_1+sigma_2) //MPa //Max compressive stress
+
+//Result
+printf("The Max stress developed is %.2f",sigma_c_max);printf(" MPa")