blob: d4c0eb083423c5048122de82570f0f376f332042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
clc
//initialisation of variables
a=12//in
b=24//in
r=500//gpm
d=200//gpcd
d1=150//gpcd
p1=113//sq in
p2=425//sq in
v1=3//fps
v2=2.35//cfs
v3=9.42//cfs
h=646000//gpd
w=720000//gpd
//CALCULATIONS
D1=v2*h//gpd
D2=v3*h//gpd
W1=D1-w//gpd
W2=D2-w//gpd
R1=D1/d//people
R2=D2/d//people
S=W1/d1//people
S1=W2/d1//people
//RESULTS
printf('the absence of fire service for a maximum draft=% f gpd',D2)
printf('The residential fire flow requirements=% f gpd',W2)
|