summaryrefslogtreecommitdiff
path: root/1052/CH15/EX15.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1052/CH15/EX15.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1052/CH15/EX15.2')
-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);