summaryrefslogtreecommitdiff
path: root/548/CH5/EX5.04/5_04.sce
blob: 29758bbf19cd967a47c9c5131fb6669f6b73e2b8 (plain)
1
2
3
4
5
6
pathname=get_absolute_file_path('5_04.sce')
filename=pathname+filesep()+'5_04data.sci'
exec(filename)
Cp=(P1-P)/q;disp(Cp,"Cp=","Cp=(P1-P)/q","pressure coefficient Cp :")
printf("\Answer:\n")
printf("\n\pressure coefficient : %f \n\n",Cp)