blob: c0194e20b9a2d8237f8f92556699e1e43366f051 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example 14.5
A=0.950;//Area (m^2)
d=2.5*10^-2;//Thickness (m)
T1=0;//Temperature inside the box (C)
T2=35;//Temperature outside the box (C)
t=24*60*60;//Time, convert 1 day to seconds (s)
k=0.010;//Thermal conductivity of styrofoam (J/s.m.C)
rate=[k*A*(T2-T1)]/d;//Rate of conductive heat transfer (J/s)
Q=rate*t;//Heat energy transferred (J)
L_f=334*10^3;//Latent heat of fusion of water (J/kg)
m=Q/L_f;//Mass of ice melted (kg)
printf('Amount of ice that melts in one day = %0.2f kg',m)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|