summaryrefslogtreecommitdiff
path: root/557/CH11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /557/CH11
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '557/CH11')
-rwxr-xr-x557/CH11/EX11.1/1.sce19
-rwxr-xr-x557/CH11/EX11.2/2.sce18
2 files changed, 37 insertions, 0 deletions
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