summaryrefslogtreecommitdiff
path: root/2870/CH7/EX7.11/Ex7_11.sce
blob: 158b5cdedf3f43f62c395cd4a79e8ee1d6916a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;clear;
//Example 7.11

//given data
P1=14;
T1=50+460;
T2=320+460;

//constants used
k=1.667;

//calculations
P2=P1*(T2/T1)^(k/(k-1));
disp(P2,'exit pressure in psia')