Newton's Law of Cooling and Stefan's Law

1. Nov 6, 2006

Noone1982

I am trying to relate an object temperature as a function of time using Stefan's Law. Newton's law of cooling is,

$$\frac{dT}{dt}\; =\; k\left( T-R \right)$$

Where T is temp, t is time, k is a constant, and R is the temperature of the surroundings. Stefan's Law is,

$$P\; =\; e\sigma AT^{4}$$

where e is emmistivity, A is area, T is temperature and sigma a constant. I want to simulate two systems of differing temperature changing temperature by exchanging heat through some surface all the while emitting heat into the surroundings.