T
Theodore Knab
I had a frozen pipe break in a house I was watching. Although the pipe
is now fixed and insulation was added above the pipes, the PVC (polyvinayl choride)
water lines are still freezing.
So, I decided I will calculate the times in which these
water lines freeze and run over and turn on the water before they freeze.
I want to be able to calculate the time in which these water pipes
will freeze at various cold temperatures.
I was wondering how I would compose the following "Newton's Law of Cooling" into
a Ruby calculation:
http://scienceworld.wolfram.com/physics/NewtonsLawofCooling.html
t = time
T = changing temp of object
T_s = temp of surrounding environment
T_0 = initial temperature of the object
K = an experimental constant that has to do with water and surface area
T(t) = T_s + (T_0 - T_s)e^(-Kt)
P.S.
I have a BA in a humanities discipline :-(
--
is now fixed and insulation was added above the pipes, the PVC (polyvinayl choride)
water lines are still freezing.
So, I decided I will calculate the times in which these
water lines freeze and run over and turn on the water before they freeze.
I want to be able to calculate the time in which these water pipes
will freeze at various cold temperatures.
I was wondering how I would compose the following "Newton's Law of Cooling" into
a Ruby calculation:
http://scienceworld.wolfram.com/physics/NewtonsLawofCooling.html
t = time
T = changing temp of object
T_s = temp of surrounding environment
T_0 = initial temperature of the object
K = an experimental constant that has to do with water and surface area
T(t) = T_s + (T_0 - T_s)e^(-Kt)
P.S.
I have a BA in a humanities discipline :-(
--