summaryrefslogtreecommitdiff
path: root/3776/CH6/EX6.4/Ex6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3776/CH6/EX6.4/Ex6_4.sce')
-rw-r--r--3776/CH6/EX6.4/Ex6_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3776/CH6/EX6.4/Ex6_4.sce b/3776/CH6/EX6.4/Ex6_4.sce
new file mode 100644
index 000000000..99f0edaa9
--- /dev/null
+++ b/3776/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,15 @@
+clear
+//Given
+l = 400 //mm - Length
+b = 300 //mm - breath
+F = 20 //KN _ the force applied on the beam
+F_d = 0.75 //KN-m - The force distribution
+d = 2 //mt - the point of interest from the free end
+//caliculations
+//From moment diagram
+M = F*d - F_d*d*1
+I = b*(l**3)/12 //mm4 - Bending moment diagram
+c = l/2 // the stress max at this C
+S = I/c //The maximum shear stress
+shear_max = M*(10**6)/S //MPa - the maximum stress
+printf("\n The maximum stress at 2 mt is %0.2f MPa",shear_max)