Hi Energize,
Figuring out the amount of energy you need to remove is actually the easy part. The tricky part is the heat transfer analysis to figure out how long it takes. One possible equation to use is
[tex]\rho cV\frac{\partial T}{\partial t}=\dot Q[/itex]<br />
<br />
where [itex]\rho[/itex] is the density of the object, [itex]c[/itex] is the heat capacity, [itex]T[/itex] is temperature, [itex]t[/itex] is time, and [itex]\dot Q[/itex] is the rate of heat loss in watts.<br />
<br />
This is the Biot analysis that Jupiter6 mentioned, which assumes that the cup and water are all about the same temperature during cooling (if you have to worry about temperature variations in the cup and water, things get a lot more complicated).<br />
<br />
Right away we run into a complication, however, because the cup and water each have different densities and heat capacities.<br />
<br />
Next we have to decide how to calculate the heat loss rate [itex]\dot Q[/itex]. In a freezer with a fan, the dominant rate of heat loss might be convection, which is modeled as <br />
<br />
[tex]\dot Q=hA(T_\infty-T)[/itex]<br />
<br />
where [itex]h[/itex] is the convection coefficient (which we don't know), [itex]A[/itex] is the surface area of the cup and water, and [itex]T_\infty[/itex] is the temperature of the air in the freezer.<br />
<br />
Now we put these two equations together to get a first-order differential equation we can solve. Sound good so far?<br />
<br />
(Fortunately, this type of analysis is explained in every good textbook on heat transfer. I recommend Incropera and DeWitt.)[/tex][/tex]