summaryrefslogtreecommitdiff
path: root/3764/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3764/CH5/EX5.1/Ex5_1.sce')
-rw-r--r--3764/CH5/EX5.1/Ex5_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3764/CH5/EX5.1/Ex5_1.sce b/3764/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..f96f0fa5b
--- /dev/null
+++ b/3764/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,18 @@
+clc
+//
+//
+
+//Variable declaration
+M=8 // Bending moment(kip.in)
+A=(2.5)*(1.5) // Area(in**2)
+R=5.969
+e=0.0314 // Distance(in)
+
+//Calculation
+// Case(a)
+Smax=((8)*(6.75-5.969))/((3.75)*(0.0314)*(6.75)) // Maximum stress(ksi)
+Smin=((8)*(5.25-5.969))/((3.75)*(0.0314)*(5.25)) // Minimum stress(ksi)
+
+// Result
+printf("\n Maximum stress = %0.3f ksi' ,Smax)
+printf("\n Minimum stress = %0.3f ksi' ,Smin)