summaryrefslogtreecommitdiff
path: root/3821/CH10/EX10.11/Example10_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3821/CH10/EX10.11/Example10_11.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 '3821/CH10/EX10.11/Example10_11.sce')
-rw-r--r--3821/CH10/EX10.11/Example10_11.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3821/CH10/EX10.11/Example10_11.sce b/3821/CH10/EX10.11/Example10_11.sce
new file mode 100644
index 000000000..044a68f56
--- /dev/null
+++ b/3821/CH10/EX10.11/Example10_11.sce
@@ -0,0 +1,25 @@
+/////////Chapter 10 Properties Of Steam
+//////Example 10.11 Page No:193
+/////Find Entropy of wet steam
+///Input data
+clc;
+clear;
+P=15; //Absolute pressure
+//From steam table (pressure basis at 15 bar)
+ts=198.3+273; //In degree celsius
+Sf=2.3145; //In KJ/KgK
+Sfg=4.1261; //In KJ/KgK
+Sg=6.4406; //In KJ/KgK
+tsup=300+273;
+Cps=2.3;
+x=0.8;
+
+////calculation
+S=Sf+x*Sfg; //Entropy of wet steam in KJ/Kg
+S1=Sg; //Entropy of superheated steam in KJ/Kg
+S2=Sg+Cps*(log(tsup/ts)); //Entropy of superheated steam in KJ/Kg
+
+///Output
+printf('Entropy of wet steam %f KJ/Kg \n' ,S);
+printf('Entropy of dry and saturated steam %f KJ/Kg \n ' ,S1);
+printf('Entropy of superheated steam %f KJ/Kg \n' ,S2);