summaryrefslogtreecommitdiff
path: root/3776/CH7/EX7.8/Ex7_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3776/CH7/EX7.8/Ex7_8.sce')
-rw-r--r--3776/CH7/EX7.8/Ex7_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3776/CH7/EX7.8/Ex7_8.sce b/3776/CH7/EX7.8/Ex7_8.sce
new file mode 100644
index 000000000..67646ba58
--- /dev/null
+++ b/3776/CH7/EX7.8/Ex7_8.sce
@@ -0,0 +1,18 @@
+clear
+//Given
+dia = 10.0 //mm - The diameter of the cylinder
+c = dia/2 //mm - the radius of the cylinder
+A = 3.14*(c**2) //mm2 The area of the crossection
+y = 4*c/(3*3.14) //mm The com of cylinder
+I = 3.14*(c**4)/4 //mm4 - The moment of inertia of the cylinder
+j = 3.14*(dia**4)/32 //mm4
+T = 20.0 //N.m - The torque
+V = 250.0 //N - The shear
+M = 25.0 //N-m The bending moment
+Q = A*y/2 //mm
+stress_dmax = 4*V/(3*A) //V*Q/(I*d) //MPa The direct maximum stress
+stress_tmax = T*c*(10**3)/j //-MPa The torsion maximum stress
+stress_total = stress_dmax + stress_tmax //MPa The total stress
+printf("\n The direct maximum stress %0.2f MPa",stress_dmax)
+printf("\n The torsion maximum stress %0.2f MPa",stress_tmax)
+printf("\n The total stress %0.2f MPa",stress_total)