blob: 13fa5e9211fe33a2026d49e81f0a2a7c664761e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clear
clc
//Example 3.8 CHANGE IN PIEZOMETRIC HEAD FOR PIPE FLOW
del_h=1/12; //deflection[ft]
//Specific weights
g_Hg=847; //[lbf/ft^3]
g_water=62.4; //[lbf/ft^3]
h=(del_h*((g_Hg/g_water)-1)) //[ft]
//Piezometric pressure
pz=h*g_water //[psf]
printf("\nBetween the points 1 and 2,\nthe change in piezometric pressure = %.1f psf \nand piezometric head = %.2f ft.\n",pz,h)
|