summaryrefslogtreecommitdiff
path: root/1379/CH9/EX9.1.1/example9_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1379/CH9/EX9.1.1/example9_1.sce
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 '1379/CH9/EX9.1.1/example9_1.sce')
-rwxr-xr-x1379/CH9/EX9.1.1/example9_1.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/1379/CH9/EX9.1.1/example9_1.sce b/1379/CH9/EX9.1.1/example9_1.sce
new file mode 100755
index 000000000..011f27a93
--- /dev/null
+++ b/1379/CH9/EX9.1.1/example9_1.sce
@@ -0,0 +1,28 @@
+
+
+//exapple 9.1
+clc; funcprot(0);
+// Initialization of Variable
+rho=1.2;
+mu=1.85/100000;
+pi=3.1428;
+d=3;
+v=50*1000/3600;
+//calculation part 1
+Re=d*rho*v/mu;
+//from chart of drag coeff. vs Re
+Cd=0.2;//coeff. of drag
+Ad=pi*d^2/4;//projected area
+Fd=Ad*Cd*rho*v^2/2;
+disp(Fd , "The drag force on sphere in N");
+//part 2
+v=2;
+l=0.25;
+Re=l*v*rho/mu;
+zi=4*pi*(l^3*3/4/pi)^(2/3)/6/l^2;//sphericity
+//using graph
+Cd=2;
+Ad=l^2;
+Fd=Ad*Cd*rho*v^2/2;
+disp(Fd , "The drag force on cube in N");
+