diff options
Diffstat (limited to '3685/CH17/EX17.4/Ex17_4.sce')
-rw-r--r-- | 3685/CH17/EX17.4/Ex17_4.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3685/CH17/EX17.4/Ex17_4.sce b/3685/CH17/EX17.4/Ex17_4.sce new file mode 100644 index 000000000..0774f5333 --- /dev/null +++ b/3685/CH17/EX17.4/Ex17_4.sce @@ -0,0 +1,22 @@ +clc
+Px = 16 // pressure in kPa
+Poy = 70 //pressure in kPa
+Mx = 1.735 // Mach number
+Pyx = 3.34 // Pressure ratio
+rho_yx = 2.25 // Density ratio
+Tyx = 1.483 // Temperature ratio
+Poyox = 0.84 // pressure ratio
+My = 0.631 // Mach number
+g = 1.4 // Ratio of heat capacities
+Tox = 573 // stagnation temperature in K
+Toy = Tox // temperature equivalence
+Tx = Tox/(1+((g-1)/2)*Mx^2) // temperature at x
+Ty = Tyx*Tx // temperature at y
+Pox = Poy/Poyox // total pressure
+// From table
+Mx = 1.735
+
+printf("\n Example 17.4\n")
+printf("\n Mach number of the tunnel is %f ",Mx)
+
+
|