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 --- 1793/CH8/EX8.2/8q2.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 1793/CH8/EX8.2/8q2.sce (limited to '1793/CH8/EX8.2') diff --git a/1793/CH8/EX8.2/8q2.sce b/1793/CH8/EX8.2/8q2.sce new file mode 100755 index 000000000..7668b13d9 --- /dev/null +++ b/1793/CH8/EX8.2/8q2.sce @@ -0,0 +1,18 @@ +clc +//initialisation of variables +Nd= 6 +H1= 5.6 //m +H2= 2.2 //m +k= 5e-5 //cm/sec +dL= 4.1 //m +//calculations +H= (H1-H2)/Nd +h1= 5.61-H +h2= 5.61-5*H +q= 2.38*(H1-H2)*k/Nd +i= H/dL +//results +printf ('at point a,water will rise to height of = % 3f m ',h1) +printf ('at point b,water will rise to height of = % 3f m ',h2) +printf ('total rate of seepage per unit lenghth = %e m^3/sec/m ',q) +printf ('average hydraulic gradient at c = % 3f ',i) -- cgit