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 --- 2132/CH6/EX6.1/Example6_1.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2132/CH6/EX6.1/Example6_1.sce (limited to '2132/CH6/EX6.1/Example6_1.sce') diff --git a/2132/CH6/EX6.1/Example6_1.sce b/2132/CH6/EX6.1/Example6_1.sce new file mode 100755 index 000000000..5fb3f21eb --- /dev/null +++ b/2132/CH6/EX6.1/Example6_1.sce @@ -0,0 +1,21 @@ +//Example 6.1 +clc; +clear; +close; +format('v',5); +//Given data : +Do=25;//mm +Dc=20;//mm +H=85;//mm +x=335;//mm +y=350;//mm +a=%pi/4*Do^2;//m^2 +ac=%pi/4*Dc^2;//m^2 +Cc=ac/a; +disp(Cc,"Coefficient of contraction : "); +Cv=sqrt(x^2/4/H/y); +disp(Cv,"Coefficient of velocity : "); +Cd=Cc*Cv; +disp(Cd,"Coefficient of discharge : "); +Cr=(1/Cv^2-1); +disp(Cr,"Coefficient of resistance : "); -- cgit