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.20/Ex5_20.sce | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 1898/CH5/EX5.20/Ex5_20.sce (limited to '1898/CH5/EX5.20') diff --git a/1898/CH5/EX5.20/Ex5_20.sce b/1898/CH5/EX5.20/Ex5_20.sce new file mode 100755 index 000000000..af893468e --- /dev/null +++ b/1898/CH5/EX5.20/Ex5_20.sce @@ -0,0 +1,30 @@ +clear all; clc; + +disp("Scilab Code Ex 5.19 : ") + +//Given: +r = 20/1000; //m +l = 1.5; //m +phi = 0.6; //rad +shear_y = 75*10^6; //N/m^2 + +//Calculations: +max_shear_strain = (phi*r)/(l); //phi = (strain*L)/r +strain_y = 0.0016; + +r_y = (r*strain_y)/(max_shear_strain); //by ratios + +//T= (%pi*shear_y)*(4c^3 - r_y^3)/6; +c = r; + +T = (%pi*shear_y)*(4*c^3 - r_y^3)/6; +T = T/1000; + +//Display: + +printf('\n\nThe torque needed to twist the shaft by 0.6 rad = %1.2f kNm',T); + +//----------------------------------------------------------------END------------------------------------------------------------------------ + + + -- cgit