summaryrefslogtreecommitdiff
path: root/746/CH9/EX9.01/9_01.sce
blob: 755aef7b622b855d2caec6b58ac803744a77d0a8 (plain)
1
2
3
4
5
6
7
8
//static pressure//
pathname=get_absolute_file_path('9.01.sce')
filename=pathname+filesep()+'9.01-data.sci'
exec(filename)
//Change in static pressure between sections 1 and 2:
C=(((L-2*d1)/(L-2*d2))^4-1)*100;
printf("\n\nRESULTS\n\n")
printf("\n\nChange in static pressure between the sections 1 and 2: %.3f percent \n\n",C)