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 --- 2021/CH5/EX5.1/EX5_1.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2021/CH5/EX5.1/EX5_1.sce (limited to '2021/CH5/EX5.1/EX5_1.sce') diff --git a/2021/CH5/EX5.1/EX5_1.sce b/2021/CH5/EX5.1/EX5_1.sce new file mode 100755 index 000000000..df65f5113 --- /dev/null +++ b/2021/CH5/EX5.1/EX5_1.sce @@ -0,0 +1,15 @@ +//Finding of velocity and discharge +//Given +d1=0.4; +r1=d1/2; +d2=0.2; +r2=d2/2; +v1=5; +pi=3.14; +//To Find +a1=(pi*r1^2); +a2=(pi*r2^2); +v2=(a1*v1)/a2; +q2=a2*v2; +disp("Velocity at section -2 ="+string(v2)+" m/second"); +disp("Discharge ="+string(q2)+"m^3/seconds"); -- cgit