summaryrefslogtreecommitdiff
path: root/3685/CH17/EX17.4
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.4
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.4')
-rw-r--r--3685/CH17/EX17.4/Ex17_4.sce22
-rw-r--r--3685/CH17/EX17.4/Ex17_4.txt4
2 files changed, 26 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)
+
+
diff --git a/3685/CH17/EX17.4/Ex17_4.txt b/3685/CH17/EX17.4/Ex17_4.txt
new file mode 100644
index 000000000..3a582d255
--- /dev/null
+++ b/3685/CH17/EX17.4/Ex17_4.txt
@@ -0,0 +1,4 @@
+
+ Example 17.4
+
+ Mach number of the tunnel is 1.735000 \ No newline at end of file