summaryrefslogtreecommitdiff
path: root/2021/CH5/EX5.2/EX5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2021/CH5/EX5.2/EX5_2.sce')
-rwxr-xr-x2021/CH5/EX5.2/EX5_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2021/CH5/EX5.2/EX5_2.sce b/2021/CH5/EX5.2/EX5_2.sce
new file mode 100755
index 000000000..ffbaca565
--- /dev/null
+++ b/2021/CH5/EX5.2/EX5_2.sce
@@ -0,0 +1,15 @@
+//Finding of Discharge and velocity
+//Given
+d1=0.4;
+d2=0.3;
+d3=0.2;
+pi=3.14;
+//To Find
+q1=(pi/4)*d1^2*3;
+q2=(pi/4)*d2^2*2;
+q3=q1-q2;
+v3=q3/((pi/4)*d3^2);
+disp("Discharge at section- 1="+string(q1)+" m^3/sec");
+disp("Discharge at section- 2="+string(q2)+" m^3/sec");
+disp("Discharge at section- 3="+string(q3)+" m^3/sec");
+disp("velocity at section- 3 ="+string(v3)+" m/sec");