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.14 | |
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.14')
-rwxr-xr-x | 680/CH6/EX6.14/6_14.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/680/CH6/EX6.14/6_14.sce b/680/CH6/EX6.14/6_14.sce new file mode 100755 index 000000000..1dc2c8f2c --- /dev/null +++ b/680/CH6/EX6.14/6_14.sce @@ -0,0 +1,16 @@ +//Problem 6.14:
+
+//initializing the variables:
+T = 298; // in deg F
+na = 1;
+nb = 3;
+nc = 2;
+Sa = 26.3; // in Btu/lbmol deg R
+Sb = 21.0; // in Btu/lbmol deg R
+Sc = 29.9; // in Btu/lbmol deg R
+
+//calculation:
+dS = nc*Sc - nb*Sb - na*Sa
+
+printf("\n\nResult\n\n")
+printf("\n entropy change is %.1f Btu/deg R",dS)
\ No newline at end of file |