summaryrefslogtreecommitdiff
path: root/914/CH12/EX12.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /914/CH12/EX12.2
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 '914/CH12/EX12.2')
-rwxr-xr-x914/CH12/EX12.2/ex12_2.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/914/CH12/EX12.2/ex12_2.sce b/914/CH12/EX12.2/ex12_2.sce
new file mode 100755
index 000000000..2ef8a2015
--- /dev/null
+++ b/914/CH12/EX12.2/ex12_2.sce
@@ -0,0 +1,22 @@
+clc;
+warning("off");
+printf("\n\n example12.2 - pg562");
+p=1.2047*0.06243; //[lb/ft^3]
+mu=(18.17*10^-6)*(0.6720); //[lb/ft*sec]
+v=mu/p;
+x=2; //[ft]
+U=6; //[ft/sec]
+Nre=(x*U)/v;
+disp("The Reynolds number is well within the laminar region",Nre,"Nre=");
+del=5*x*(Nre)^(-1/2);
+C1=0.33206;
+Cd=2*C1*(Nre)^(-1/2);
+L2=2; //[ft]
+L1=1; //[ft]
+b=1;
+F=((2*(C1)*U*b))*((mu*p*U)^(1/2))*(((L2)^(1/2))-((L1)^(1/2)));
+gc=32.174;
+F=F/gc;
+printf("\n\n The value of F properly expressed in force units is \n F=%e lbf",F);
+
+