summaryrefslogtreecommitdiff
path: root/629/CH4/EX4.6/example4_6.sce
blob: 4c542a50c9406afb0549d720ada8a891dab880cc (plain)
1
2
3
4
5
6
7
8
9
10
clear
clc
//Example 4.6 VELOCITY IN A VENTURI SECTION
h1=1; //[m]
h2=0.5; //[m]
g=9.81; //[m/s^2]
//h1-h2=(V2^2-V1^2)/(2*g), V2=2*V1
V1=sqrt(2*g*(h1-h2)/3) //[m/s]
V2=2*V1 //[m/s]
printf("\nThe velocity in the throat section = %.2f m/s.\n",V2)