summaryrefslogtreecommitdiff
path: root/32/CH3/EX3.07/3_08.sce
blob: 88763f520f3ba428c62670a75c4fd3f2496589cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//pathname=get_absolute_file_path('3.08.sce')
//filename=pathname+filesep()+'3.08-data.sci'
//exec(filename)
//Initial temperature(in K):
t1=627+273
//Final temperature(in K):
t2=27+273
//Specific heat at const pressure(in kJ/kg.K):
Cp=1.005
//Exit velocity(in m/s):
c2=sqrt(2*Cp*10^3*(t1-t2))
printf("\nRESULT\n")
printf("\nExit Velocity = %f m/s",c2)