summaryrefslogtreecommitdiff
path: root/557/CH11/EX11.2/2.sce
diff options
context:
space:
mode:
Diffstat (limited to '557/CH11/EX11.2/2.sce')
-rwxr-xr-x557/CH11/EX11.2/2.sce18
1 files changed, 18 insertions, 0 deletions
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