summaryrefslogtreecommitdiff
path: root/1898/CH6/EX6.30/Ex6_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '1898/CH6/EX6.30/Ex6_30.sce')
-rwxr-xr-x1898/CH6/EX6.30/Ex6_30.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1898/CH6/EX6.30/Ex6_30.sce b/1898/CH6/EX6.30/Ex6_30.sce
new file mode 100755
index 000000000..6e72712b4
--- /dev/null
+++ b/1898/CH6/EX6.30/Ex6_30.sce
@@ -0,0 +1,23 @@
+clear all; clc;
+
+disp("Scilab Code Ex 6.30 : ")
+
+//Given:
+sigma_y = 250; //MPa
+t = 12.5; //mm
+w = 200; //mm
+h = 225; //mm
+c = (h/2)+t;
+I = 82.44*10^6;//mm^4
+Mp = 188; //kN
+
+//Calculations:
+sigma_allow = (Mp*10^6*c)/(I);
+y = (sigma_y*c)/(sigma_allow);
+
+//Display:
+
+ printf("\n\nThe point of zero normal stress = %1.2f mm',y);
+ printf("\nThe Residual Stress distribution is shown in the text book.");
+
+ //------------------------------------------------------------------------END---------------------------------------------------------------------------------------