summaryrefslogtreecommitdiff
path: root/1652/CH10/EX10.6
diff options
context:
space:
mode:
Diffstat (limited to '1652/CH10/EX10.6')
-rwxr-xr-x1652/CH10/EX10.6/10_6.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1652/CH10/EX10.6/10_6.sce b/1652/CH10/EX10.6/10_6.sce
new file mode 100755
index 000000000..ebff1168c
--- /dev/null
+++ b/1652/CH10/EX10.6/10_6.sce
@@ -0,0 +1,9 @@
+clc
+//Initialization of variables
+prob=0.001
+R=1
+N=6.023*10^23
+//calculations
+dS=1.987*2.303*log10(prob) /N
+//results
+printf("change in entropy = %.1e eu",dS)