diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1898/CH5/EX5.18 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1898/CH5/EX5.18')
-rwxr-xr-x | 1898/CH5/EX5.18/Ex5_18.sce | 23 |
1 files changed, 23 insertions, 0 deletions
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------------------------------------------------------------------------
|