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/CH2/EX2.2/2_2.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2513/CH2/EX2.2/2_2.sce (limited to '2513/CH2/EX2.2') diff --git a/2513/CH2/EX2.2/2_2.sce b/2513/CH2/EX2.2/2_2.sce new file mode 100755 index 000000000..603c5a619 --- /dev/null +++ b/2513/CH2/EX2.2/2_2.sce @@ -0,0 +1,22 @@ +clc +//initialisation of variables +m=17.378//mg +h=20//in/sq mile +d=365//in +s=0.75//percent +a=100//sq miles +p=750000//gpd per sq mile +t=180//in +c=150//gpcd +n=64699 //gpd per sq mile +//CALCULATIONS +R=h*m//mg +A=R/d//mgd +S=s*a*t//billion gal +Q=a*p/c//gpd +P=a*n/c//people against +//RESULTS +printf('the surface water sheds and storage requirements=% f mg',R) +printf('the well watered sections of north america=% f billion gal',S) +printf('the average consumpition populations=% f gpd',Q) +printf('the presence of proper storage=% f people against',P) -- cgit