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 /2789/CH9/EX9.12 | |
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 '2789/CH9/EX9.12')
-rwxr-xr-x | 2789/CH9/EX9.12/Ex9_12.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2789/CH9/EX9.12/Ex9_12.sce b/2789/CH9/EX9.12/Ex9_12.sce new file mode 100755 index 000000000..189384681 --- /dev/null +++ b/2789/CH9/EX9.12/Ex9_12.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+
+//page no. 312
+
+d = 12;// in
+D = 24;//in
+theta = 20;//degrees
+G = 10;//cfs
+p = 20;//psi
+V12 = G/(0.25*%pi);
+V24 = V12/4;
+K_L = 0.43;
+p24 = ((p*144/62.4) + (V12^2 /(2*32.2)) - ((V24^2)/(2*32.2)) - K_L*(V12-V24)^2 /(2*32.2))/2.314;
+printf('Pressure in the larger pipe = %.1f psi',p24);
|