blob: 6e419a5800cf5452cfaada0a3d1f85c4231bac3e (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
p1=2; //bar
C1=300; //m/s
Q=0;
h1=915*10^3; //J/kg
h2=800*10^3; //J/kg
C2=sqrt(2*[h1-h2 + C1^2/2]);
disp("Relative velocity of gas leaving the pipe=")
disp(C2)
disp("m/s")
|