From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1898/CH5/EX5.18/Ex5_18.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 1898/CH5/EX5.18/Ex5_18.sce (limited to '1898/CH5/EX5.18') diff --git a/1898/CH5/EX5.18/Ex5_18.sce b/1898/CH5/EX5.18/Ex5_18.sce new file mode 100755 index 000000000..b765bf374 --- /dev/null +++ b/1898/CH5/EX5.18/Ex5_18.sce @@ -0,0 +1,23 @@ +clear all; clc; + +disp("Scilab Code Ex 5.18 : ") + +//Given: +fillet_r = 6; //mm +D = 40/1000; //m +d = 20/1000; //m +T = 30; //Nm +D_d = D/d; +r_d = fillet_r/d; +k = 1.3; + +//Maximum Shear Stress: +c = D/2; +J = (%pi/2)*(c^4) +max_shear = (k*T*c)/(J*10^6); // tou = K(Tc/J) + +//Display: + +printf('\n\nThe maximum shear stress in the shaft due to the applied torques = %1.2f MPa',max_shear); + +//----------------------------------------------------------------END------------------------------------------------------------------------ -- cgit