summaryrefslogtreecommitdiff
path: root/2021/CH15/EX15.8/EX15_8.sce
blob: b849a0af08f417733ecb40364f67cc7fa38fc043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Finding of velocity at the outlet of a nozzle
//Given
k=1.4;
P1=294.3;
P2=137.34;
T1=303;
R=287;
//To Find
rho=P1/(R*T1);
V2=sqrt((2*k/(k-1))*(P1/rho)*(1-(P2/P1)^((k-1)/k)));
disp("velocity at the outlet of a nozzle ="+string(V2)+" m/sec");