From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 914/CH10/EX10.16/ex10_16.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 914/CH10/EX10.16/ex10_16.sce (limited to '914/CH10/EX10.16/ex10_16.sce') diff --git a/914/CH10/EX10.16/ex10_16.sce b/914/CH10/EX10.16/ex10_16.sce new file mode 100755 index 000000000..27064c9b4 --- /dev/null +++ b/914/CH10/EX10.16/ex10_16.sce @@ -0,0 +1,27 @@ +clc; +warning("off"); +printf("\n\n example10.16 - pg470"); +// given +Q=400; //[gpm] +p=1.1*62.4; //[lbm/ft^3] +mu=2*(6.72*10^-4); //[lb/ft*sec] +e=1.5*10^4; +// 4 inch schedule pipe +d=0.3355; +S=(%pi*(d^2))/4; +U4=Q/39.6; +ebyd=e/d; +w=3671/60; +pm=13.45*62.4; +g=32.1; +gc=32.174; +Nre=(d*U4*p)/mu; +if Nre>10^4 then + c=0.98; +end +deltaz=2.5; +deltap=(g/gc)*(pm-p)*(deltaz); +betaa=((1)/(1+[(2*p*gc)*(deltap)]*(((c*S)/w)^2)))^(1/4); +d2=betaa*d; +printf("\n\n The pertinentr details of the venturi design are\n Throat diameter = %f inch\n Approach angle = 25\n Divergence angle = 7",d2*12); + -- cgit