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/CH7/EX7.1.c | |
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/CH7/EX7.1.c')
-rwxr-xr-x | 2066/CH7/EX7.1.c/7_1c.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2066/CH7/EX7.1.c/7_1c.sce b/2066/CH7/EX7.1.c/7_1c.sce new file mode 100755 index 000000000..fad25124e --- /dev/null +++ b/2066/CH7/EX7.1.c/7_1c.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Initialization of variables
+z1=2 //ft
+Q=0.1 //gal/min
+alpha=2
+g=32.2 //ft/s^2
+L=4 //ft
+D=1/96 //ft
+//calculations
+v2=Q/(7.48*60* %pi/4 *D^2)
+hl=z1-alpha*v2^2 /(2*g)
+Nr=64/hl *L/D *v2^2 /(2*g)
+Ld=0.058*Nr*D
+//results
+printf("Theoretical entrance transistion length = %.3f ft",Ld)
|