diff options
Diffstat (limited to '779/CH7/EX7.5/7_5.sce')
-rwxr-xr-x | 779/CH7/EX7.5/7_5.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/779/CH7/EX7.5/7_5.sce b/779/CH7/EX7.5/7_5.sce new file mode 100755 index 000000000..65ec0c54a --- /dev/null +++ b/779/CH7/EX7.5/7_5.sce @@ -0,0 +1,8 @@ +Vo = 8.4;
+Vh = 14;
+n1 = Vo/22.4; n2 = Vh/22.4;
+R = 8.31;
+x1 = n1/(n1+n2);
+x2 = n2/(n1+n2);
+S = -R*(n1*log(x1)+n2*log(x2));
+disp("J/K",S,"Entropy change for the process is")
\ No newline at end of file |