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.6/2_6.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 2513/CH2/EX2.6/2_6.sce (limited to '2513/CH2/EX2.6') diff --git a/2513/CH2/EX2.6/2_6.sce b/2513/CH2/EX2.6/2_6.sce new file mode 100755 index 000000000..d4c0eb083 --- /dev/null +++ b/2513/CH2/EX2.6/2_6.sce @@ -0,0 +1,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) -- cgit