summaryrefslogtreecommitdiff
path: root/629/CH12/EX12.3/example12_3.sce
blob: d9e9cb90b3bbeb29be12de7797fd46a746786a20 (plain)
1
2
3
4
5
6
7
8
9
clear
clc
//Example 12.3 TOTAL TEMPERATURE CALCULATION
T=273+(-50) //static temperature [K]
k=1.4;
M=1.6; //Mach number
//Total temperature
Tt=T*(1+(k-1)*M^2/2) //[K]
printf("\n The surface temperature of the aircraft = %.f K.\n",Tt)