diff options
Diffstat (limited to '1427/CH18/EX18.13/18_13.sce')
-rw-r--r-- | 1427/CH18/EX18.13/18_13.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH18/EX18.13/18_13.sce b/1427/CH18/EX18.13/18_13.sce new file mode 100644 index 000000000..f4aeb396c --- /dev/null +++ b/1427/CH18/EX18.13/18_13.sce @@ -0,0 +1,8 @@ +//ques-18.13
+//Calculating change in entropy for an isothermal expansion
+clc
+n=5;//moles of gas
+//r=V2/V1
+r=6;
+S=2.303*8.314*n*log10(r);//change in entropy
+printf("The change in entropy is %.1f J/K.",S);
|