summaryrefslogtreecommitdiff
path: root/629/CH12/EX12.7/example12_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '629/CH12/EX12.7/example12_7.sce')
-rw-r--r--629/CH12/EX12.7/example12_7.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/629/CH12/EX12.7/example12_7.sce b/629/CH12/EX12.7/example12_7.sce
new file mode 100644
index 000000000..7c0f8a7b0
--- /dev/null
+++ b/629/CH12/EX12.7/example12_7.sce
@@ -0,0 +1,9 @@
+clear
+clc
+//Example 12.7 TEST SECTION SIZE IN SUPERSONIC WIND TUNNEL
+k=1.4;
+M=3; //Mach number
+Ao=10; //area[cm^2]
+//Cross-sectional area
+A=Ao*(1/M)*{(1+[(k-1)/2]*M^2)/((k+1)/2)}^((k+1)/(2*(k-1))) //[cm^2]
+printf("\n The cross-sectional area of the test section, A = %.1f cm^2.\n",A) \ No newline at end of file