blob: 3330b335e6702585b1981be84f8ed09fdc617252 (
plain)
1
2
3
4
5
6
7
|
pathname=get_absolute_file_path('4_08.sce')
filename=pathname+filesep()+'4_08data.sci'
exec(filename)
disp("T2=T1*(P2/P1)^((y-1)/y)","from isentropic condition:")
T2=T1*(P2/P1)^((y-1)/y)//temperature at exit
printf("\Answer:\n")
printf("\n\Gas temperature at the exit: %f K\n\n",T2)
|