diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2066/CH9/EX9.2/9_2.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2066/CH9/EX9.2/9_2.sce')
-rwxr-xr-x | 2066/CH9/EX9.2/9_2.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2066/CH9/EX9.2/9_2.sce b/2066/CH9/EX9.2/9_2.sce new file mode 100755 index 000000000..9bb2253b3 --- /dev/null +++ b/2066/CH9/EX9.2/9_2.sce @@ -0,0 +1,18 @@ +clc
+clear
+//Initialization of variables
+e=0.01 //ft
+rho=2 //slugs/ft^3
+mu=2.6e-5 //lb sec/ft^2
+speed=10 //knots
+L=250 //ft
+A=30000 //ft^2
+//calculations
+V=speed*1.69
+Nrl=V*L*rho/mu
+Cdf=1.32 /sqrt(Nrl)
+Fd=Cdf*A*0.5*rho*V^2
+hp=Fd*V/550
+//results
+printf("Total frictional drag = %d lb",Fd)
+printf("\n Horsepower required = %.1f hp",hp)
|