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 --- 2513/CH8/EX8.4/8_4.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2513/CH8/EX8.4/8_4.sce (limited to '2513/CH8/EX8.4') diff --git a/2513/CH8/EX8.4/8_4.sce b/2513/CH8/EX8.4/8_4.sce new file mode 100755 index 000000000..e8c2dccbc --- /dev/null +++ b/2513/CH8/EX8.4/8_4.sce @@ -0,0 +1,21 @@ +clc +//initialisation of variables +d=30.0//mgd +a=40.0//sq miles +a1=1500//acres +r1=47.0//in +r2=27.0//in +q=0.9//in +k=640//in +h=0.052//gpd/sq mile +//CALCULATIONS +Q=r2-(r2+a-r1)*q*a1/(k*a)//in +D=d+a*h//mgd +A=a-(q*a1/k)*[1-(r1-a)/(r2)]//sq miles +R=r2+a-r1//in +S=R*q//in +//RESULTS +printf('the revised mean annual runoff=% f in',Q) +printf('the equivalent mean draft=% f mgd',D) +printf('the equivalent land area=% f sq miles',A) +printf('the adjusted flowline=% f in',S) -- cgit