summaryrefslogtreecommitdiff
path: root/3648/CH9/EX9.8/Ex9_8.sce
blob: bcfa7dcfaa792f571e78da6afaf4d4e18aeb0b3e (plain)
1
2
3
4
5
6
//Example 9_8
clc();
clear;
//To find out the speed by which water flows from spigot
//From the Bernoulis Equation P1+(p*g*h)=P2+(0.5*p*V2^2)+(p*g*h2)
printf(" Solving from the Bernoulis equation V2=sqrt(2*g*(h1-h2))")