diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /551/CH16/EX16.8/8.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '551/CH16/EX16.8/8.sce')
-rwxr-xr-x | 551/CH16/EX16.8/8.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/551/CH16/EX16.8/8.sce b/551/CH16/EX16.8/8.sce new file mode 100755 index 000000000..0429d6e73 --- /dev/null +++ b/551/CH16/EX16.8/8.sce @@ -0,0 +1,26 @@ +clc
+R=287; //J/kg K
+y=1.4;
+V0=1000*1000/3600; //m/s
+p0=78.5; //kN/m^2
+T0=265; //K
+
+C0=sqrt(y*R*T0);
+M0=V0/C0;
+
+disp("(i) Stagnation pressure =")
+ps=p0*(1+((y-1)/2*M0^2))^(y/(y-1));
+disp(ps)
+disp("kN/m^2")
+
+
+disp("(ii) Stagnation temperature =")
+Ts=T0*(1+((y-1)/2*M0^2));
+disp(Ts)
+disp("K")
+
+
+disp("(iii) Stagnation density =")
+rho_s=ps*10^3/R/Ts;
+disp(rho_s)
+disp("kg/m^3")
\ No newline at end of file |