summaryrefslogtreecommitdiff
path: root/3845/CH15/EX15.8/Ex15_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH15/EX15.8/Ex15_8.sce')
-rw-r--r--3845/CH15/EX15.8/Ex15_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH15/EX15.8/Ex15_8.sce b/3845/CH15/EX15.8/Ex15_8.sce
new file mode 100644
index 000000000..2e597f18e
--- /dev/null
+++ b/3845/CH15/EX15.8/Ex15_8.sce
@@ -0,0 +1,10 @@
+//Example 15.8
+m=1;//Mass of ice (kg)
+L_f=334*10^3;//Latent heat of fusion (J/kg)
+Q=m*L_f;//Heat required to melt the given mass of ice (J)
+T=0;//Melting temperature of ice (C)
+T=T+273;//Melting temperature of ice (K)
+delta_S=Q/T;//Change in entropy (J/K)
+printf('Increase in entropy = %0.2e J/K',delta_S)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest