summaryrefslogtreecommitdiff
path: root/1052/CH15/EX15.2/152.sce
diff options
context:
space:
mode:
Diffstat (limited to '1052/CH15/EX15.2/152.sce')
-rwxr-xr-x1052/CH15/EX15.2/152.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1052/CH15/EX15.2/152.sce b/1052/CH15/EX15.2/152.sce
new file mode 100755
index 000000000..684693fd9
--- /dev/null
+++ b/1052/CH15/EX15.2/152.sce
@@ -0,0 +1,14 @@
+clc;
+//Example 15.2
+//page no 169
+printf(" Example 15.2 page no 169\n\n");
+//nitrogen gas is flowing in a duct,neglect compressibility effects
+T=293//temperature,k
+R=8314.4//gas constant
+k=1.4//for nitrogen
+M=28//molecular weight of nitrogen
+c=sqrt(k*R*T/M)//speed of sound in nitrogen
+printf("\n speed of sound on nitrogen c=%f m/s",c);
+v=82//flow velocity
+M_a=v/c//mach no.
+printf("\n mach no. M_a=%f ",M_a);