summaryrefslogtreecommitdiff
path: root/1709/CH4/EX4.5/4_5.sce
blob: 54344109550c1a05251a754c7eb77827fe2004fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
//Initialization of variables
P1=200 //psia
P2=100 //psia
T1=300+460 //R
g=1.4
cp=0.24
//calculations
T2=(T1)*(P2/P1)^((g-1)/g)
V2=sqrt(2*32.2*778*cp*(T1-T2))
//results
printf("Final velocity  = %d ft/sec",V2)