summaryrefslogtreecommitdiff
path: root/2732/CH8/EX8.1/Ex8_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2732/CH8/EX8.1/Ex8_1.sce')
-rwxr-xr-x2732/CH8/EX8.1/Ex8_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2732/CH8/EX8.1/Ex8_1.sce b/2732/CH8/EX8.1/Ex8_1.sce
new file mode 100755
index 000000000..103190a12
--- /dev/null
+++ b/2732/CH8/EX8.1/Ex8_1.sce
@@ -0,0 +1,18 @@
+clc
+// initialization of variables
+clear
+L=5 //m
+D=20 //cm
+t=1 //cm
+E=2*10^6 //kg/cm^2
+I=2502 //cm^4
+L=5*100 //cm
+// calculations
+P=E*I/(4*L^2)
+// results
+printf('The maximal axial load taken is %.1f Tonne',P/100)
+printf('\n for both ends pinned, P=%.1f Tonne',P*4/100)
+printf('\n for both ends fixed, P=%.1f Tonne',P*16/100)
+printf('\n for one end fixed, one pinned, P=%.1f Tonne',P*4*2.13/100)
+
+// Evaluation of critical load (P) in the text is wrong