summaryrefslogtreecommitdiff
path: root/2513/CH3/EX3.2/3_2.sce
blob: 47a194134fb7dbeed3bc665d4f9275e3b94f4266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
//initialisation of variables
a=37.4//acres
r=2//in
p=30//min
v=3//fps
r1=0.6//in
h=1.0//cfs
p1=50//percent
q=646000//gpd
//CALCULATIONS
R=r*r1*a//cfs
A=R/v//sq ft
D=12*sqrt(4*A/%pi)//in
P=r*r1*q/p1//gpcd
//RESULTS
printf('the per capita storm runoff for a population density=% f gpcd',P)