summaryrefslogtreecommitdiff
path: root/866/CH14/EX14.10/14_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '866/CH14/EX14.10/14_10.sce')
-rwxr-xr-x866/CH14/EX14.10/14_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/866/CH14/EX14.10/14_10.sce b/866/CH14/EX14.10/14_10.sce
new file mode 100755
index 000000000..9358e82f0
--- /dev/null
+++ b/866/CH14/EX14.10/14_10.sce
@@ -0,0 +1,13 @@
+clc
+//initialisation of variables
+BeamL= 250 //mm
+BeamH= 500 //mm
+spanlength= 4 //m
+Failurestress= 1.5 //N/mm^2
+//CALCULATIONS
+W1= (Failurestress*BeamL*BeamH^3)/(10^3*BeamL*12)
+W2= (4*Failurestress*BeamL*BeamH)/3
+if(W1>W2)
+ printf ("W2= %.2e kN",W2)
+else
+ printf ("W2= %.2e kN",W1)