summaryrefslogtreecommitdiff
path: root/3863/CH16/EX16.8/Ex16_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH16/EX16.8/Ex16_8.sce')
-rw-r--r--3863/CH16/EX16.8/Ex16_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3863/CH16/EX16.8/Ex16_8.sce b/3863/CH16/EX16.8/Ex16_8.sce
new file mode 100644
index 000000000..76322bace
--- /dev/null
+++ b/3863/CH16/EX16.8/Ex16_8.sce
@@ -0,0 +1,14 @@
+clear
+//
+//Given
+//Variable declaration
+D=15*10 //Diameter of shaft in mm
+P=150*1e3 //Power transmitted in W
+N=180 //Speed of shaft in r.p.m
+
+//Calculation
+T=(P*60)/(2*%pi*N)*1e3 //Torque transmitted in Nmm
+tau=int((16*T)/(%pi*D**3)) //Maximum shear stress in N/sq.mm
+
+//Result
+printf("\n Maximum shear stress = %0.3f N/mm^2",tau)