summaryrefslogtreecommitdiff
path: root/3776/CH9/EX9.5/Ex9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3776/CH9/EX9.5/Ex9_5.sce')
-rw-r--r--3776/CH9/EX9.5/Ex9_5.sce17
1 files changed, 9 insertions, 8 deletions
diff --git a/3776/CH9/EX9.5/Ex9_5.sce b/3776/CH9/EX9.5/Ex9_5.sce
index ee3f65e4e..432d3df4b 100644
--- a/3776/CH9/EX9.5/Ex9_5.sce
+++ b/3776/CH9/EX9.5/Ex9_5.sce
@@ -1,23 +1,24 @@
clear
//Given
M = 10 //KN-m moment
-v = 8.0 //KN - shear Stress
+v = 8.0 //KN - shear Stress
stress_allow = 8 //MPa - The maximum allowable stress
shear_allow_per = 1.4 //MPa - The allowable stress perpendicular to grain
stress_allow_shear = 0.7 //MPa - The maximum allowable shear stress
-//Caliculations
+//calculations
-S = M*(10**6)/stress_allow //mm3
+S = M*(10**6)/stress_allow //mm3
//lets arbitarly assume h = 2b
//S = b*(h**2)/6
-h = (12*S**0.333) //The depth of the beam
+h = (1.25*(10**6)*12)**(1/3) //The depth of the beam
b = h/2 //mm The width of the beam
-A = h*b //mm2 The area of the crossection , assumption
-stress_shear = 3*v*(10**3)/(2*A) //MPa The strear stress
+A = 140*240 //sq.mm The area of the crossection , assumption
+stress_shear = 3*v*(10**3)/(2*A) //MPa The strear stress
if stress_shear<stress_allow_shear then
- printf("The stress developed %0.2f is in allowable ranges for %0.2f mm2 area",stress_shear,A)
+ printf("The stress developed %0.2f is in allowable ranges for %0.2f sq.mm area",stress_shear,A)
else
printf("The stress developed %0.3f is in non allowable ranges %0.3f area",stress_shear,A)
end
Area_allow = v*(10**3)/shear_allow_per //mm - the allowable area
-printf("\n The minimum area is %0.3f mm2",Area_allow )
+printf("\n The minimum area is %0.3f sq.mm",Area_allow )
+//answer varies due to rounding off errors