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 /2510/CH21/EX21.2/Ex21_2.sce | |
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 '2510/CH21/EX21.2/Ex21_2.sce')
-rwxr-xr-x | 2510/CH21/EX21.2/Ex21_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2510/CH21/EX21.2/Ex21_2.sce b/2510/CH21/EX21.2/Ex21_2.sce new file mode 100755 index 000000000..f5b06ae38 --- /dev/null +++ b/2510/CH21/EX21.2/Ex21_2.sce @@ -0,0 +1,16 @@ +//Variable declaration: +//From example 21.1: +DSh = -0.2744 //Entropy for hot fluid (Btu/ F) +DSc = 0.3795 //Entropy for cold fluid (Btu/ F) +m = 1 //Mass flowrate (lb) +cP = 1 //Heat capacity (Btu/lb. F) +//From figure 21.4: +DT = 0 //Temperature difference driving force ( F) +DS_D = 0 //Entropy for D exchanger (Btu/ F) + +//Calculation: +DS_C = DSh+DSc //Entropy for C exchanger (Btu/ F) +DSt = DS_C+DS_D //Total entropy change of exchangers (Btu/ F) + +//Result: +printf("The total entropy change is : %f Btu/ F .",DSt) |