summaryrefslogtreecommitdiff
path: root/548/CH4/EX4.12/4_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '548/CH4/EX4.12/4_12.sce')
-rwxr-xr-x548/CH4/EX4.12/4_12.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/548/CH4/EX4.12/4_12.sce b/548/CH4/EX4.12/4_12.sce
new file mode 100755
index 000000000..80fe1ff55
--- /dev/null
+++ b/548/CH4/EX4.12/4_12.sce
@@ -0,0 +1,10 @@
+pathname=get_absolute_file_path('4_12.sce')
+filename=pathname+filesep()+'4_12data.sci'
+exec(filename)
+disp("Mach No at Throat Mt=V1/a");
+Mt=V1/a;disp(Mt,"Mt=")
+disp("Mach No at Throat Me=Ve/Ae");
+Me=Ve/Ae;disp(Me,"Me=")
+printf("\Answer:\n")
+printf("\n\Mach No at throat: %f\n\n",Mt)
+printf("\n\Mach No at exit: %f\n\n",Me) \ No newline at end of file