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/CH10/EX10.1/Ex10_1.sce | 29 ++++++++++++++++++++ 1898/CH10/EX10.10/Ex10_10.sce | 38 ++++++++++++++++++++++++++ 1898/CH10/EX10.11/Ex10_11.sce | 34 +++++++++++++++++++++++ 1898/CH10/EX10.12/Ex10_12.sce | 34 +++++++++++++++++++++++ 1898/CH10/EX10.13/Ex10_13.sce | 22 +++++++++++++++ 1898/CH10/EX10.14/Ex10_14.sce | 42 +++++++++++++++++++++++++++++ 1898/CH10/EX10.2/Ex10_2.sce | 36 +++++++++++++++++++++++++ 1898/CH10/EX10.3/Ex10_3.sce | 34 +++++++++++++++++++++++ 1898/CH10/EX10.4/Ex10_4.sce | 33 +++++++++++++++++++++++ 1898/CH10/EX10.5/Ex10_5.sce | 31 +++++++++++++++++++++ 1898/CH10/EX10.6/Ex10_6.sce | 41 ++++++++++++++++++++++++++++ 1898/CH10/EX10.7/Ex10_7.sce | 32 ++++++++++++++++++++++ 1898/CH10/EX10.8/Ex10_8.sce | 63 +++++++++++++++++++++++++++++++++++++++++++ 1898/CH10/EX10.9/Ex10_9.sce | 25 +++++++++++++++++ 14 files changed, 494 insertions(+) create mode 100755 1898/CH10/EX10.1/Ex10_1.sce create mode 100755 1898/CH10/EX10.10/Ex10_10.sce create mode 100755 1898/CH10/EX10.11/Ex10_11.sce create mode 100755 1898/CH10/EX10.12/Ex10_12.sce create mode 100755 1898/CH10/EX10.13/Ex10_13.sce create mode 100755 1898/CH10/EX10.14/Ex10_14.sce create mode 100755 1898/CH10/EX10.2/Ex10_2.sce create mode 100755 1898/CH10/EX10.3/Ex10_3.sce create mode 100755 1898/CH10/EX10.4/Ex10_4.sce create mode 100755 1898/CH10/EX10.5/Ex10_5.sce create mode 100755 1898/CH10/EX10.6/Ex10_6.sce create mode 100755 1898/CH10/EX10.7/Ex10_7.sce create mode 100755 1898/CH10/EX10.8/Ex10_8.sce create mode 100755 1898/CH10/EX10.9/Ex10_9.sce (limited to '1898/CH10') diff --git a/1898/CH10/EX10.1/Ex10_1.sce b/1898/CH10/EX10.1/Ex10_1.sce new file mode 100755 index 000000000..2b5ba7209 --- /dev/null +++ b/1898/CH10/EX10.1/Ex10_1.sce @@ -0,0 +1,29 @@ +clear all; clc; + +disp("Scilab Code Ex 10.1 : ") + +//Given: +ep_x = 500; //Normal Strain +ep_y = -300; //Normal Strain +gamma_xy = 200; //Shear Strain +theta = 30*(%pi/180); +theta = theta*-1; + +ep_x_new = ((ep_x+ep_y)/2) + ((ep_x - ep_y)/2)*cos(2*theta) + (gamma_xy/2)*sin(2*theta); + +gamma_xy_new = -((ep_x - ep_y)/2)*sin(2*theta) + (gamma_xy/2)*cos(2*theta); +gamma_xy_new = 2*gamma_xy_new; + +phi = 60*(%pi/180); +ep_y_new = (ep_x+ep_y)/2 + ((ep_x - ep_y)/2)*cos(2*phi) + (gamma_xy/2)*sin(2*phi); + +//Display: + + +printf('\n\nThe equivalent strain acting on the element in the x plain oriented at 30 degrees clockwise = %1.1f *10^-6',ep_x_new); +printf('\nThe equivalent strain acting on the element in the y plain oriented at 30 degrees clockwise = %1.1f *10^-6',ep_y_new); +printf('\nThe equivalent shear strain acting on the element = %1.0f *10^-6',gamma_xy_new); + +//----------------------------------------------------------------------END-------------------------------------------------------------------------------- + + diff --git a/1898/CH10/EX10.10/Ex10_10.sce b/1898/CH10/EX10.10/Ex10_10.sce new file mode 100755 index 000000000..05a8d3166 --- /dev/null +++ b/1898/CH10/EX10.10/Ex10_10.sce @@ -0,0 +1,38 @@ +clear all; clc; + +disp("Scilab Code Ex 10.10 : ") + +//Given: +a = 300; //mm +b = 50; //mm +t = 20; //mm +E_cu = 120*10^3; //MPa +nu_cu = 0.34;// Poisson's ratio + +//By inspection: +sigma_x = 800; //MPa +sigma_y = -500; //MPa +tou_xy = 0; +sigma_z = 0; + +//By Hooke's Law: +ep_x = (sigma_x/E_cu) - (nu_cu/E_cu)*(sigma_y + sigma_z); +ep_y = (sigma_y/E_cu) - (nu_cu/E_cu)*(sigma_x + sigma_z); +ep_z = (sigma_z/E_cu) - (nu_cu/E_cu)*(sigma_y + sigma_x); + +//New lengths: + +a_dash = a + ep_x*a; +b_dash = b + ep_y*b; +t_dash = t + ep_z*t; + +//Display: + +printf('\n\nThe new length = %1.2fmm ',a_dash); +printf('\nThe new width = %1.2f mm ',b_dash); +printf('\nThe new thickness = %1.2f mm ',t_dash); +//--------------------------------------------------------------------------END-------------------------------------------------------------------------------------- + + + + diff --git a/1898/CH10/EX10.11/Ex10_11.sce b/1898/CH10/EX10.11/Ex10_11.sce new file mode 100755 index 000000000..19efbf42c --- /dev/null +++ b/1898/CH10/EX10.11/Ex10_11.sce @@ -0,0 +1,34 @@ +clear all; clc; + +disp("Scilab Code Ex 10.11 : ") + +//Given: +p = 20; //kPa +E = 600; //kPa +nu = 0.45 +a = 4; //cm +b = 2; //cm +c = 3; //cm + +//Dilatation: +sigma_x = -p; +sigma_y = -p; +sigma_z = -p; + +e = ((1-2*nu)/E)*(sigma_x + sigma_y + sigma_z); + +//Change in Length: +ep = (sigma_x - nu*(sigma_y + sigma_z))/E; + +del_a = ep*a; +del_b = ep*b; +del_c = ep*c; + +//Display: + +printf('\n\nThe change in length a = %1.4fcm ',del_a); +printf('\nThe change in length b = %1.5fcm ',del_b); +printf('\nThe change in length c = %1.4fcm ',del_c); +//--------------------------------------------------------------------------END-------------------------------------------------------------------------------------- + + diff --git a/1898/CH10/EX10.12/Ex10_12.sce b/1898/CH10/EX10.12/Ex10_12.sce new file mode 100755 index 000000000..00c449e4f --- /dev/null +++ b/1898/CH10/EX10.12/Ex10_12.sce @@ -0,0 +1,34 @@ +clear all; clc; + +disp("Scilab Code Ex 10.12 : ") + +//Given: +di = 60/1000; //m +ri = di/2; +d0 = 80/1000;//m +ro = d0/2; +T = 8000;//Nm +M = 3500; //Nm +sigma_y_sqr = 250^2; //MPa + +//Calculations: +c = ro; +J = (%pi/2)*(ro^4 - ri^4)*(10^6); +I = (%pi/4)*(ro^4 - ri^4)*(10^6); +tou_a = (T*c)/J; +sigma_a = (M*c)/I; + +sigma_avg = (0-sigma_a)/2; + +R = sqrt(116.4^2 + sigma_avg^2); +sigma1 = sigma_avg + R; +sigma2 = sigma_avg - R; + +test = (sigma1^2 - (sigma1*sigma2) + sigma2^2); + + +if(test= sigma_yield) + + printf("\n\nFailure occurs by Maximum Shear Stress Theory.'); +end + + +//Maximum Distortion-Energy Theory: +test2 = (sigma1^2 - (sigma1*sigma2) + sigma2^2); + + +if(test2