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 /1280/CH5 | |
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 '1280/CH5')
-rwxr-xr-x | 1280/CH5/EX5.1/5_1.sce | 11 | ||||
-rwxr-xr-x | 1280/CH5/EX5.10/5_10.sce | 13 | ||||
-rwxr-xr-x | 1280/CH5/EX5.11/5_11.sce | 13 | ||||
-rwxr-xr-x | 1280/CH5/EX5.12/5_12.sce | 15 | ||||
-rwxr-xr-x | 1280/CH5/EX5.13/5_13.sce | 16 | ||||
-rwxr-xr-x | 1280/CH5/EX5.2/5_2.sce | 10 | ||||
-rwxr-xr-x | 1280/CH5/EX5.3/5_3.sce | 8 | ||||
-rwxr-xr-x | 1280/CH5/EX5.4/5_4.sce | 14 | ||||
-rwxr-xr-x | 1280/CH5/EX5.5/5_5.sce | 12 | ||||
-rwxr-xr-x | 1280/CH5/EX5.6/5_6.sce | 8 | ||||
-rwxr-xr-x | 1280/CH5/EX5.7/5_7.sce | 10 | ||||
-rwxr-xr-x | 1280/CH5/EX5.8/5_8.sce | 10 | ||||
-rwxr-xr-x | 1280/CH5/EX5.9/5_9.sce | 12 |
13 files changed, 152 insertions, 0 deletions
diff --git a/1280/CH5/EX5.1/5_1.sce b/1280/CH5/EX5.1/5_1.sce new file mode 100755 index 000000000..84f30d02e --- /dev/null +++ b/1280/CH5/EX5.1/5_1.sce @@ -0,0 +1,11 @@ +clc
+//initialisation of variables
+Q= 40 //gpm
+d= 2 //in
+d1= 4 //in
+//CALCULATIONS
+v1= Q*4/(%pi*d^2*3.12)
+v2= %pi*v1*4/(%pi*d1^2)
+//RESULTS
+printf ('velocity of fluid in the conductor = %.2f fps',v1)
+printf (' \n velocity of fluid in a maniflod = %.2f fps',v2)
diff --git a/1280/CH5/EX5.10/5_10.sce b/1280/CH5/EX5.10/5_10.sce new file mode 100755 index 000000000..9d32e3f74 --- /dev/null +++ b/1280/CH5/EX5.10/5_10.sce @@ -0,0 +1,13 @@ +clc
+//initialisation of variables
+Q= 200 //gpm
+d= 2 //in
+S= 0.91
+f= 0.05
+L= 800 //ft
+g= 32.2 //ft/sec^2
+//CALCULATIONS
+v= Q*4/(%pi*3.12*d^2)
+h= 2.598*S*f*L*v^2/(2*g)
+//RESULTS
+printf ('Pressure drop = %.f psi',h)
diff --git a/1280/CH5/EX5.11/5_11.sce b/1280/CH5/EX5.11/5_11.sce new file mode 100755 index 000000000..0f7cb5693 --- /dev/null +++ b/1280/CH5/EX5.11/5_11.sce @@ -0,0 +1,13 @@ +clc
+//initialisation of variables
+Q= 15 //gpm
+d= 1 //in
+s= 0.85
+v= 0.08 //N
+L= 400 //ft
+//CALCULATIONS
+V= Q*4/(%pi*d^2*3.12)
+Nr= 12*V*2*d/v
+h= .43*s*v*L*V/d^2
+//RESULTS
+printf ('Pressure drop = %.2f psi',h)
diff --git a/1280/CH5/EX5.12/5_12.sce b/1280/CH5/EX5.12/5_12.sce new file mode 100755 index 000000000..1b2e3daf2 --- /dev/null +++ b/1280/CH5/EX5.12/5_12.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+Q= 1000 //gpm
+d= 2 //in
+V= 0.30 //N
+L= 500 //ft
+f= 0.034
+S= 0.85
+g= 32.2 //ft/sec^2
+//CALCULATIONS
+v= Q*4/(%pi*3.12*d^2)
+Nr= (12*v*d)/V
+h= 2.598*S*f*L*v^2/(2*g)
+//RESULTS
+printf ('Pressure drop = %.f psi',h+5)
diff --git a/1280/CH5/EX5.13/5_13.sce b/1280/CH5/EX5.13/5_13.sce new file mode 100755 index 000000000..aac1366e7 --- /dev/null +++ b/1280/CH5/EX5.13/5_13.sce @@ -0,0 +1,16 @@ +clc
+//initialisation of variables
+Q= 500 //gpm
+d= 2 //in
+S= 0.91
+kv= 0.25 //N
+r= 0.0012
+K= 3
+f= 0.04
+//CALCULATIONS
+v= Q*4/(%pi*d^2*3.12)
+Nr= (v*d*12)/kv
+Rr= 12*r/d
+Le= K*d/(f*12)
+//RESULTS
+printf ('equivalent length = %.1f ft',Le)
diff --git a/1280/CH5/EX5.2/5_2.sce b/1280/CH5/EX5.2/5_2.sce new file mode 100755 index 000000000..fb19c3310 --- /dev/null +++ b/1280/CH5/EX5.2/5_2.sce @@ -0,0 +1,10 @@ +clc
+//initialisation of variables
+Q= 18 //gpm
+d= 2 //in
+v2= 10 //fps
+//CALCULATIONS
+v1= Q*4/(%pi*d^2*3.12)
+d2= sqrt(4*Q/(%pi*v2*3.12))
+//RESULTS
+printf ('minnimum diameter = %.3f in',d2)
diff --git a/1280/CH5/EX5.3/5_3.sce b/1280/CH5/EX5.3/5_3.sce new file mode 100755 index 000000000..6fd3415ab --- /dev/null +++ b/1280/CH5/EX5.3/5_3.sce @@ -0,0 +1,8 @@ +clc
+//initialisation of variables
+Q= 10 //gpm
+d= 1 //in
+//CALCULATIONS
+v= Q*4/(%pi*d^2*3.12)
+//RESULTS
+printf ('veloctity = %.1f fps',v)
diff --git a/1280/CH5/EX5.4/5_4.sce b/1280/CH5/EX5.4/5_4.sce new file mode 100755 index 000000000..59a6d9266 --- /dev/null +++ b/1280/CH5/EX5.4/5_4.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+S= 0.91
+g= 32.2 //ft/sec^2
+P1= 1000 //psi
+Q= 500 //gpm
+d= 3 //in
+d1= 1 //in
+//CALCULATIONS
+v1= Q*4/(3.12*%pi*d^2)
+v2= Q*4/(%pi*d1^2*3.12)
+P2= ((P1*2.31/S)+(v1^2/(2*g))-(v2^2/(2*g)))*(S/2.31)
+//RESULTS
+printf ('pressure = %.f psi',P2-1)
diff --git a/1280/CH5/EX5.5/5_5.sce b/1280/CH5/EX5.5/5_5.sce new file mode 100755 index 000000000..cbcaf3459 --- /dev/null +++ b/1280/CH5/EX5.5/5_5.sce @@ -0,0 +1,12 @@ +clc
+//initialisation of variables
+P1= 1000 //psi
+S= 0.85
+P2= 350 //psi
+Hl= 679.41 //ft
+//CALCULATIONS
+Ha= P1*2.31/S
+He= Ha-(P2*2.31/S)-Hl
+//RESULTS
+//RESULTS
+printf ('energy exptracted from the fluid = %.2f ft',He)
diff --git a/1280/CH5/EX5.6/5_6.sce b/1280/CH5/EX5.6/5_6.sce new file mode 100755 index 000000000..179c7a006 --- /dev/null +++ b/1280/CH5/EX5.6/5_6.sce @@ -0,0 +1,8 @@ +clc
+//initialisation of variables
+g= 32 //ft/sec^2
+h= 40 //ft
+//CALCULATIONS
+v= sqrt(2*g*h)
+//RESULTS
+printf ('velocty of the fluid = %.1f fps',v)
diff --git a/1280/CH5/EX5.7/5_7.sce b/1280/CH5/EX5.7/5_7.sce new file mode 100755 index 000000000..161c13b1e --- /dev/null +++ b/1280/CH5/EX5.7/5_7.sce @@ -0,0 +1,10 @@ +clc
+//initialisation of variables
+Q= 1000 //gpm
+d= 2 //in
+S= 0.85
+dp= 120 //psi
+//CALCULATIONS
+Cf= (1/38.06)*(Q*4/(%pi*d^2))*sqrt(S/dp)
+//RESULTS
+printf ('friction coefficient for the orifice = %.2f ',Cf)
diff --git a/1280/CH5/EX5.8/5_8.sce b/1280/CH5/EX5.8/5_8.sce new file mode 100755 index 000000000..93929a34c --- /dev/null +++ b/1280/CH5/EX5.8/5_8.sce @@ -0,0 +1,10 @@ +clc
+//initialisation of variables
+Q= 100 //gpm
+d= 1 //in
+kv= 0.05 //N
+//CALCULATIONS
+v= Q*4/(3.12*%pi*d^2)
+Nr= (12*v*d)/kv
+//RESULTS
+printf ('Reynolds number = %.f ',Nr+5)
diff --git a/1280/CH5/EX5.9/5_9.sce b/1280/CH5/EX5.9/5_9.sce new file mode 100755 index 000000000..c44d8a99f --- /dev/null +++ b/1280/CH5/EX5.9/5_9.sce @@ -0,0 +1,12 @@ +clc
+//initialisation of variables
+v= 27 //cp
+s= 0.85
+d= 1 //in
+//CALCULATIONS
+V= v/s
+V1= V*0.001552
+V2= 2000*V1/(12*d)
+V3= 4000*V1/(12*d)
+//RESULTS
+printf ('Critical velocity = %.2f fps',V3)
|