summaryrefslogtreecommitdiff
path: root/1627/CH4/EX4.8/Ex4_8.sce
blob: 2cf45a333da4c23bb8a4cbf4f020ce2557f873b8 (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
p=1.227//kg
v=90.27//m/s^2
p1=1.01*10^5//N/m^2
//CALCULATIONS
Ps=p1+(1/2)*(p*v)//N/m^2
//RESULTS
printf('The stagnation pressure is=% f N/m^2',Ps)