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 --- 1466/CH4/EX4.7/4_7.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1466/CH4/EX4.7/4_7.sce (limited to '1466/CH4/EX4.7') diff --git a/1466/CH4/EX4.7/4_7.sce b/1466/CH4/EX4.7/4_7.sce new file mode 100755 index 000000000..aa6296041 --- /dev/null +++ b/1466/CH4/EX4.7/4_7.sce @@ -0,0 +1,21 @@ + +clc +//initialisation of variables +h1= 2.25 //in +dh1= 6 //in +h2= 4.125 +dh2= 3 //in +dt1= 107 //sec +dt2= 120 //sec +Cd= 0.62 +g= 32.2 //ft/sec^2 +d= 1.5 //in +//CALCULATIONS +r1= dh1/(dt1*12) +r2= dh2/(dt2*12) +k= Cd*%pi*(d/12)^2*sqrt(2*g)/4 +A= k*(sqrt(h2)-sqrt(h1))/(r1-r2) +Q= r1*A+k*sqrt(h1) +//RESULTS +printf (' Area = %.1f ft^2',A) +printf (' \n Discharge = %.4f ft^3/sec',Q) -- cgit