summaryrefslogtreecommitdiff
path: root/3814/CH2/EX2.9/Ex2_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3814/CH2/EX2.9/Ex2_9.sce
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 '3814/CH2/EX2.9/Ex2_9.sce')
-rw-r--r--3814/CH2/EX2.9/Ex2_9.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3814/CH2/EX2.9/Ex2_9.sce b/3814/CH2/EX2.9/Ex2_9.sce
new file mode 100644
index 000000000..5b672e288
--- /dev/null
+++ b/3814/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,23 @@
+// calculate the mach number
+//ex 2.9 pgno 46
+clc
+patm=101000 // applying ideal characteristic equation
+p=9800//static presure
+t=0.016 //temperature
+p1=(p*t)+patm//stagnatio presure
+mprintf('P= Pg+Patm = %e k Pa',p1)
+R=287 // Radius
+T=273 // temperature
+t1=T+20
+P=p1/(R*t1)
+mprintf(' \n p = %f kg/m3',P)
+p0=0.032
+p11=0.016
+V=sqrt((2*(p0-p11)*p)/(1.2))//velocity
+mprintf(' \n V= %f m/s',V)
+K=1.4//Radius
+C=sqrt(K*R*t1)//velocity of sound
+mprintf('\n velocity of sound C= %d m/s',C)
+M=V/C//mach number
+mprintf(' \n Mach number M= V/C = %f',M)
+mprintf(' \n The flow is incompressible as macho number is less than 0.3')