blob: 16677dc70b6109c36e36bd4296439c8cc7006e6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc;funcprot(0);
//Example 5.1
//Initializing the variables
l = 60 ; //Length of pipeline
rho = 1000; // Density of liquid
a = 0.02; //Acceleration of fluid
//Calculations
delP = rho*l*a; //Change in pressure
disp(delP/1000,"Increase of pressure difference required (kN/m2):");
|