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 /680/CH6/EX6.09 | |
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 '680/CH6/EX6.09')
-rwxr-xr-x | 680/CH6/EX6.09/6_09.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/680/CH6/EX6.09/6_09.sce b/680/CH6/EX6.09/6_09.sce new file mode 100755 index 000000000..15e0c6020 --- /dev/null +++ b/680/CH6/EX6.09/6_09.sce @@ -0,0 +1,25 @@ +//Problem 6.09:
+
+//initializing the variables:
+H0 = 28; // in Btu/lb
+H1 = 1151; // in Btu/lb
+Qh = 700; // in Btu/lb
+S0 = 0.056; // in Btu/lb deg R
+S1 = 1.757; // in Btu/lb deg R
+Th = 300; // in deg F
+Tc = 60; // in deg F
+P1 = 1; // in atm
+T1 = 212; // in deg F
+T0 = 60; // in deg F
+
+
+//calculation:
+Qc = H1 - H0 - Qh
+//the entropy change of the steam
+dSs = S0 - S1
+dSh = Qh/(Th + 460)
+dSc = Qc/(Tc + 460)
+dSt = dSs + dSh + dSc
+
+printf("\n\nResult\n\n")
+printf("\n total entropy change is %.3f Btu/lb deg R",dSt)
\ No newline at end of file |