diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1898/CH13/EX13.4 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1898/CH13/EX13.4')
-rwxr-xr-x | 1898/CH13/EX13.4/Ex13_4.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/1898/CH13/EX13.4/Ex13_4.sce b/1898/CH13/EX13.4/Ex13_4.sce new file mode 100755 index 000000000..bf866097e --- /dev/null +++ b/1898/CH13/EX13.4/Ex13_4.sce @@ -0,0 +1,31 @@ +clear all; clc;
+
+disp("Scilab Code Ex 13.4 : ")
+
+//Given:
+E = 70;//GPa
+Ix = 61.3*10^-6;
+Iy = 23.2*10^-6;
+l = 5;
+KLx = 2*l; //m
+KLy = 0.7*(l); //m
+FS = 3; //Factor of safety
+sigma_y = 215; //MPa
+
+
+Pcrx = (%pi^2*E*10^6*Ix)/(KLx^2); //Pcr = (%pi^2*EI)/(l^2)
+Pcry = (%pi^2*E*10^6*Iy)/(KLy^2); //Pcr = (%pi^2*EI)/(l^2)
+
+Pcr = min(Pcrx,Pcry);
+A = 7.5*10^-3; //mm^2
+P_allow = Pcr/FS;
+sigma_cr = (Pcr*10^-3)/A;
+
+
+if(sigma_cr<sigma_y)
+
+ printf("\n\nThe largest allowable load that the column can support = %1.0f kN',P_allow);
+end
+
+//----------------------------------------------------------------------END--------------------------------------------------------------------------------
+
|