summaryrefslogtreecommitdiff
path: root/3685/CH17/EX17.5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH17/EX17.5
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3685/CH17/EX17.5')
-rw-r--r--3685/CH17/EX17.5/Ex17_5.sce34
-rw-r--r--3685/CH17/EX17.5/Ex17_5.txt7
2 files changed, 41 insertions, 0 deletions
diff --git a/3685/CH17/EX17.5/Ex17_5.sce b/3685/CH17/EX17.5/Ex17_5.sce
new file mode 100644
index 000000000..159b22b22
--- /dev/null
+++ b/3685/CH17/EX17.5/Ex17_5.sce
@@ -0,0 +1,34 @@
+clc
+Ax = 18.75 // cross sectional area in divergent part in m^2
+A_ = 12.50 // throat area in m^2
+AA_ = 1.5 // Area ratio
+Pxox = 0.159 // pressure ratio from table
+R = 0.287 // Gas constant
+Pox = 0.21e03 // pressure in kPa
+Px = Pxox*Pox // pressure calculation
+// from the gas table on normal shock
+Mx = 1.86
+My = 0.604
+Pyx = 3.87
+Poyx = 4.95
+Poyox = 0.786
+Py = Pyx*Px
+Poy = Poyx*Px
+My = 0.604
+Ay_ = 1.183
+A2 = 25
+Ay = 18.75
+A2_ = (A2/Ay)*Ay_
+// From isentropic table
+M2 = 0.402
+P2oy = 0.895
+P2 = P2oy*Poy
+syx = -R*log(Poy/Pox) // sy-sx
+
+printf("\n Example 17.5\n")
+printf("\n Exit Mach number is %f ",M2)
+printf("\n Exit pressure is %f kPa",P2)
+printf("\n Exit Stagnation pressure is %f kPa",Pox-Poy)
+printf("\n Entropy increase is %f kJ/kg K",syx)
+//The answers vary due to round off error
+
diff --git a/3685/CH17/EX17.5/Ex17_5.txt b/3685/CH17/EX17.5/Ex17_5.txt
new file mode 100644
index 000000000..7d8f1a7e9
--- /dev/null
+++ b/3685/CH17/EX17.5/Ex17_5.txt
@@ -0,0 +1,7 @@
+
+ Example 17.5
+
+ Exit Mach number is 0.402000
+ Exit pressure is 147.926048 kPa
+ Exit Stagnation pressure is 44.719500 kPa
+ Entropy increase is 0.068726 kJ/kg K \ No newline at end of file