summaryrefslogtreecommitdiff
path: root/3764/CH4/EX4.01/Ex4_01.sce
diff options
context:
space:
mode:
Diffstat (limited to '3764/CH4/EX4.01/Ex4_01.sce')
-rw-r--r--3764/CH4/EX4.01/Ex4_01.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3764/CH4/EX4.01/Ex4_01.sce b/3764/CH4/EX4.01/Ex4_01.sce
new file mode 100644
index 000000000..6e511287d
--- /dev/null
+++ b/3764/CH4/EX4.01/Ex4_01.sce
@@ -0,0 +1,15 @@
+clc
+//
+
+//Variable declaration
+c=1.25 // Radius(in)
+Sy=36 // Stress(ksi)
+b=0.8 // Breadth(in)
+h=2.5 // Height(in)
+
+//Calculation
+I=(1/12.0)*(b)*(h)**3 // Centroidal moment of inertia(in**4)
+M=(I/c)*(Sy) // Bending moment(kip.in)
+
+// Result
+printf("\n Bending moment = %0.3f kip.in' ,M)