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.7/2_7.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2513/CH2/EX2.7/2_7.sce (limited to '2513/CH2/EX2.7') diff --git a/2513/CH2/EX2.7/2_7.sce b/2513/CH2/EX2.7/2_7.sce new file mode 100755 index 000000000..44cab5f6b --- /dev/null +++ b/2513/CH2/EX2.7/2_7.sce @@ -0,0 +1,16 @@ +clc +//initialisation of variables +w=100000//ft +c=250//per capita +p1=0.3//percent +p2=0.1//percent +p3=0.60//percent +w1=15//mgd +//CALCULATIONS +T=c*w//$ +W=p1*T//$ +W1=p2*T//$ +W2=p3*T//$ +W3=((w1)^2/3)*T//$ +//RESULTS +printf('the replacement cost of the water of a city=% f $',W3) -- cgit