diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /32/CH13/EX13.02 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '32/CH13/EX13.02')
-rwxr-xr-x | 32/CH13/EX13.02/13_02.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/32/CH13/EX13.02/13_02.sce b/32/CH13/EX13.02/13_02.sce new file mode 100755 index 000000000..41d091396 --- /dev/null +++ b/32/CH13/EX13.02/13_02.sce @@ -0,0 +1,22 @@ +//pathname=get_absolute_file_path('13.02.sce')
+//filename=pathname+filesep()+'13.02-data.sci'
+//exec(filename)
+//Steam entering at pressure(in bar):
+p1=10
+//Pressure at which steam leaves(in bar):
+p2=6
+//Cross-section area of exit of nozzle(in cm^2):
+A2=20
+//From steam tables:
+h1=3478.5 //kJ/kg
+s1=7.7622 //kJ/kg.K
+s2=s1
+T2=418.45 //C(by interpolation)
+h2=3309.51 //kJ/kg
+v2=0.5281 //m^3/kg
+//Velocity at exit(in m/s):
+C2=sqrt(2*(h1-h2)*10^3)
+//Mass flow rate(in kg/s):
+m=A2*10^(-4)*C2/v2
+printf("\nRESULT\n")
+printf("\nMass flow rate= %f kg/s",m)
\ No newline at end of file |