summaryrefslogtreecommitdiff
path: root/3863/CH8/EX8.12/Ex8_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH8/EX8.12/Ex8_12.sce')
-rw-r--r--3863/CH8/EX8.12/Ex8_12.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3863/CH8/EX8.12/Ex8_12.sce b/3863/CH8/EX8.12/Ex8_12.sce
new file mode 100644
index 000000000..43cebdacd
--- /dev/null
+++ b/3863/CH8/EX8.12/Ex8_12.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+
+//Given
+//Variable declaration
+F=50*10**3 //Shear force in N
+b=250 //Base width in mm
+h=200 //height in mm
+
+//Calculation
+tau_max=int((3*F)/(b*h)) //Maximum shear stress in N/sq.mm
+tau=((8*F)/(3*b*h)) //Shear stress at N.A. in N/sq.mm
+
+
+//Result
+printf("\n Maximum shear stress = %0.3f N/mm^2",tau_max)
+printf("\n Shear stress at N.A. = %0.3f N/mm^2",tau)