diff options
Diffstat (limited to '647/CH5/EX5.11/Example5_11.sce')
-rwxr-xr-x | 647/CH5/EX5.11/Example5_11.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/647/CH5/EX5.11/Example5_11.sce b/647/CH5/EX5.11/Example5_11.sce new file mode 100755 index 000000000..9406ceceb --- /dev/null +++ b/647/CH5/EX5.11/Example5_11.sce @@ -0,0 +1,19 @@ +clear;
+clc;
+
+// Example: 5.11
+// Page: 166
+
+printf("Example: 5.11 - Page: 166\n\n");
+
+// Solution
+
+//*****Data*****//
+N = 1;// [kmol]
+xA = 0.21;// [for Oxygen]
+xB = 0.79;// [for Nitrogen]
+R = 8.314;// [kJ/kmol K]
+//*************//
+
+deltaS = - (N*R*(xA*log(xA) + xB*log(xB)));// [kJ/mol K]
+printf("Entropy Change is %.2f kJ/kmol K",deltaS);
\ No newline at end of file |