summaryrefslogtreecommitdiff
path: root/2732/CH8/EX8.3/Ex8_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2732/CH8/EX8.3/Ex8_3.sce')
-rwxr-xr-x2732/CH8/EX8.3/Ex8_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2732/CH8/EX8.3/Ex8_3.sce b/2732/CH8/EX8.3/Ex8_3.sce
new file mode 100755
index 000000000..b54558db9
--- /dev/null
+++ b/2732/CH8/EX8.3/Ex8_3.sce
@@ -0,0 +1,17 @@
+clc
+//initialzation of variables
+clear
+h=3.5 //m
+A=22.4 //cm^2
+r=7.08 //cm
+E=2*10^6 //kg/cm^2
+Q=1/2
+// calculations
+h=h*100
+Q1=(Q*h/r)^2
+s_cr=E*%pi^2/Q1
+// results
+printf('The critical stress is %d kg/cm^2',s_cr)
+printf('\n This is much higher than yield stress for the material, \n so the column will fail by yielding')
+
+// rounding off errors in the text