Newtons Law of Cooling is 
Here
is the temperature of the object and
is the surrondings temperature.
Change in temperature
.
At the intital time 
and
.
Substitute
and
in the equation
.
.
The general equation is
.
Substitute
in the above equation.

At
the temperature is
.
Hence,
and
.
Hence
.


Substitute
in the equation
at
.


Find the time ,when the temperature reaches
.
The equation is
.



Therefore,the pigs temperature reaches
after
.
The pigs temperature reaches
after
.