blob: c31291850b8ddeb481b4a611f355e2d3397ec6ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-1,Example 3,Page 7
//Title:Pressure drop
//================================================================================================================
clear
clc
//INPUT
rho_water=1000;//density of water flowing through the pipeline in kg/m^3
rho_manomtr=1595;//density of manometric fluid (carbon tetrachloride) in kg/m^3
l=40;//length between the selected sections in cm
theta=45;//inclination of the manometer in degrees
g=9.81;//acceleration due to gravity in m/s^2
//CALCULATION
delp=(l/100)*sin((theta*%pi)/180)*g*(rho_manomtr-rho_water);//calculation of pressure drop between the required sections in Pa
//OUTPUT
mprintf('\n The pressure drop between the required sections= %f Pa',delp);
//===============================================END OF PROGRAM===================================================
|