summaryrefslogtreecommitdiff
path: root/3863/CH16/EX16.3/Ex16_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH16/EX16.3/Ex16_3.sce')
-rw-r--r--3863/CH16/EX16.3/Ex16_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3863/CH16/EX16.3/Ex16_3.sce b/3863/CH16/EX16.3/Ex16_3.sce
new file mode 100644
index 000000000..fd2ad92f4
--- /dev/null
+++ b/3863/CH16/EX16.3/Ex16_3.sce
@@ -0,0 +1,15 @@
+clear
+//
+
+//Given
+//Variable declaration
+Do=200 //Outer diameter in mm
+Di=100 //Inner diameter in mm
+tau=40 //Maximum shear stress in N/sq.mm
+
+//Calculation
+T=int(((%pi)/16*tau*((Do**4-Di**4)/Do)))*1e-3 //Maximum torque transmitted by the shaft in Nm
+
+
+//Result
+printf("\n Maximum torque transmitted by the shaft = %0.3f Nm",T)