summaryrefslogtreecommitdiff
path: root/548/DEPENDENCIES/4_21data.sci
blob: 8f3d85ca875ef31e1a03b6513b8533ec24a0d15e (plain)
1
2
3
4
5
6
7
8
9
//in question pressure given is 1.013*10^5 but while solving it uses 
//10*1.013*10^5,so we use the later.
Po=10*1.013*10^5 ;//reservoir pressure in Pascal
To=333.33; //reservoir temperature in Kelvin
Me=3;//mach no. at test section
y=1.4; //specific heat ratio for air
R=287 ;//gas constant,J/Kg.K
Pe=Po*[1+(y-1)*Me^2/2]^((-y)/(y-1)) //exit pressure
Tstag=To //the stagnation point temperature remains same as that of total temperature(reservoir temperature) througout the compression