summaryrefslogtreecommitdiff
path: root/3850/CH25/EX25.3/ex25_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH25/EX25.3/ex25_3.sce')
-rw-r--r--3850/CH25/EX25.3/ex25_3.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3850/CH25/EX25.3/ex25_3.sce b/3850/CH25/EX25.3/ex25_3.sce
new file mode 100644
index 000000000..493878b69
--- /dev/null
+++ b/3850/CH25/EX25.3/ex25_3.sce
@@ -0,0 +1,22 @@
+//To calculate the mass of melted Ice
+//Example 25.3
+
+clear;
+
+clc;
+
+m=0.2;//mass of a piece of ice in kg at 25 degree Celsius
+
+s=4200;//specific heat capacity of water in J/kg-k
+
+t1=25;//Initial Temperature in Celsius
+
+t2=0;//Final Temperature in Celsius
+
+Q=m*s*(t1-t2);//formula for finding the heat
+
+L=3.4*10^5;//specific latent heat of fusion of ice in J/kg
+
+M=Q/L;//The amount of ice melted
+
+printf("Mass of the Ice Melted=%f gram",M*1000);