summaryrefslogtreecommitdiff
path: root/557/CH9/EX9.1/1.sce
blob: 0e448e662957c73827745005ac3314686528b7c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;funcprot(0); //Example 9.1

//Initializing the variables
Vp = 10;
LpByLm = 20;
rhoPbyRhoM = 1;
muPbymuM = 1;
//Calculations
Vm = Vp*LpByLm*rhoPbyRhoM*muPbymuM;
 
disp(Vm, 'Mean water tunnel flow velocity (m/s):');