summaryrefslogtreecommitdiff
path: root/3159/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3159/CH2/EX2.1/Ex2_1.sce')
-rwxr-xr-x3159/CH2/EX2.1/Ex2_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3159/CH2/EX2.1/Ex2_1.sce b/3159/CH2/EX2.1/Ex2_1.sce
new file mode 100755
index 000000000..884133c2c
--- /dev/null
+++ b/3159/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,7 @@
+// Calculate the entropy increase
+clc
+del_h = 6.02 // Heat added in kJ/mol
+t_m = 273.15 // mean temperature in kelvin
+printf("\n Example 2.1")
+del_s = del_h*1e3/t_m
+printf("\n Increase in entropy is %.2f J mol^-1 K^-1",del_s)