summaryrefslogtreecommitdiff
path: root/2783/CH10/EX10.2/Ex10_2.sce
blob: df868b79f4513fe834d1ec2233ebbae19b13356b (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialization of new variables
clear
T0=850 //k
T=270 //k
gama=1.4
//calculations
M=sqrt(2/(gama-1)*(T0/T-1))
//results
printf('M = %.2f',M)