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 --- 557/CH11/EX11.1/1.sce | 19 +++++++++++++++++++ 557/CH11/EX11.2/2.sce | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100755 557/CH11/EX11.1/1.sce create mode 100755 557/CH11/EX11.2/2.sce (limited to '557/CH11') diff --git a/557/CH11/EX11.1/1.sce b/557/CH11/EX11.1/1.sce new file mode 100755 index 000000000..9ed1c4a7f --- /dev/null +++ b/557/CH11/EX11.1/1.sce @@ -0,0 +1,19 @@ +clc; funcprot(0); //Example 11.1 + +//Initializing the variables +rho = 860; +v = 10^-5; +Us = 3; +b = 1.25; +l = 2; + +//Calculations +x = 1; // At x =1 +Rex = Us*x/v; +ReL = Us*l/v ; +mu = rho*v; +T0 = 0.332*mu*Us/x*Rex^0.5; +Cf = 1.33*ReL^-0.5; +F = rho*Us^2*l*b*Cf ; + +disp(F,"Total, double-sided resistance of the plate (N) :",T0,"Shear stress at mid-length(N/m2)"); \ No newline at end of file diff --git a/557/CH11/EX11.2/2.sce b/557/CH11/EX11.2/2.sce new file mode 100755 index 000000000..81c58ecbc --- /dev/null +++ b/557/CH11/EX11.2/2.sce @@ -0,0 +1,18 @@ +clc; funcprot(0); //Example 11.2 + +//Initializing the variables +Us = 6; +b = 3; +l = 30; +rho = 1000; +mu = 10^-3; +T = 20+273; // Temperature in Kelvin + +//Calculations +1/mu; +ReL = rho*Us*l/mu; +Cf = 0.455*log10(ReL)^-2.58 ; + +F = rho*Us^2*l*b*Cf ; +Lt = 10^5*mu/(rho*Us); // Assuming transition at Rel = 10^5 +disp(Lt,"Transition length (m) :",F/1000,"Total drag on the plate (kN):"); \ No newline at end of file -- cgit