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/CH6/EX6.28/Ex6_28.sce | |
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/CH6/EX6.28/Ex6_28.sce')
-rwxr-xr-x | 1898/CH6/EX6.28/Ex6_28.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1898/CH6/EX6.28/Ex6_28.sce b/1898/CH6/EX6.28/Ex6_28.sce new file mode 100755 index 000000000..46c556012 --- /dev/null +++ b/1898/CH6/EX6.28/Ex6_28.sce @@ -0,0 +1,27 @@ +clear all; clc;
+
+disp("Scilab Code Ex 6.28 : ")
+
+//Given:
+sigma_y = 250; //MPa
+t = 15/1000; //m
+w = 100/1000; //m
+h = 120/1000; //m
+c = 10/1000; //m
+
+//Calculations:
+d = ((sigma_y*t*w)+(sigma_y*t*h))/(sigma_y*t*2);
+
+T = sigma_y*t*d*10^3;
+C1 = sigma_y*t*c*10^3;
+C2 = sigma_y*t*w*10^3;
+
+Mp = (T*d/2)+(C1*c/2)+(C2*(c+t/2));
+
+//Display:
+
+
+ printf("\n\nThe plastic moment that can be resisted by the beam = %1.1f kNm',Mp);
+
+ //------------------------------------------------------------------------END---------------------------------------------------------------------------------------
+
|