We can solve this problem using separation of variables.
Then apply the initial conditions
Step-by-step explanation
We were given the first order differential equation
![(dT)/(dt)=k(T-a)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/nj6z308y5nvqg5uddanrhzh997thkotwh2.png)
We now separate the time and the temperature variables as follows,
![(dT)/(T-a)=kdt](https://img.qammunity.org/2019/formulas/mathematics/middle-school/3r83hvng6b03pyyai8gzhnwmge3mjctbxf.png)
Integrating both sides of the differential equation, we obtain;
![ln(T-a)=kt +c](https://img.qammunity.org/2019/formulas/mathematics/middle-school/8rgv19v14f5v1pnvvfcb9vagns78zlcyve.png)
This natural logarithmic equation can be rewritten as;
![T-a=e^(kt +c)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/24ojq2zlpwfca4fxvnz1a1yuzaxvjk8mgn.png)
Applying the laws of exponents, we obtain,
![T-a=e^(kt)* e^(c)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/5cifp2weo24h2p51yee7fnzx755rlpzp12.png)
![T-a=e^(c)e^(kt)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/tvygr7ud6y2m9t2ujtg5tzs87bsl8eycex.png)
We were given the initial conditions,
![T(0)=4](https://img.qammunity.org/2019/formulas/mathematics/middle-school/6k4miw1n37nh8jkn5exsht90rwwxqeqwpc.png)
Let us apply this condition to obtain;
![4-20=e^(c)e^(k(0))](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ejx2oy2j1fh502gqe9gmawys1g7qdsouwd.png)
![-16=e^(c)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/u5ml9h35zie78g2pl3rs16o87aug30h1oc.png)
Now our equation, becomes
![T-a=-16e^(kt)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/qhbfv2w4p237d50mkszhberejhmxqtctgv.png)
or
![T=a-16e^(kt)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/6gnmjntcfhkvgk1x8whaypw82dzscji740.png)
When we substitute a=20,
we obtain,
![T=20-16e^(kt)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/sd9aejm8jxq2xnd8y4xc0qp70buc98o8zu.png)
b) We were also given that,
![T(5)=8](https://img.qammunity.org/2019/formulas/mathematics/middle-school/gk1wqcxp97kihuq5wtxyw60eg3cxua1ing.png)
Let us apply this condition again to find k.
![8=20-16e^(5k)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/6fqw39owlfwtxm6y5is7figb1mt5xyg8dx.png)
This implied
![-12=-16e^(5k)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/d7xxd48l0v1x324u0aulpnvu81ypjk2wai.png)
![(-12)/(-16)=e^(5k)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/9u7hzdkcib5qy34qd9lj1exujdmnkoueig.png)
![(3)/(4)=e^(5k)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/jq1h6796u4v8vsjd5ayd76ciixaccjttic.png)
We take logarithm to base e of both sides,
![ln((3)/(4))=5k](https://img.qammunity.org/2019/formulas/mathematics/middle-school/swn38sukvw1yjmu6p3k77r7bhquoyhpqbt.png)
This implies that,
![(ln((3)/(4)))/(5)=k](https://img.qammunity.org/2019/formulas/mathematics/middle-school/19lksx1orudzx8q4yq4pj2fg0rih09yqmk.png)
![k=-0.2877](https://img.qammunity.org/2019/formulas/mathematics/middle-school/rvhg8q88m34hxckadzosbvcvpf12nd3ne4.png)
After 15 minutes, the temperature will be,
![T=20-16e^(-0.2877* 15)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/qrg49woxmvlxyzgapma6o8ie99osan0njs.png)
![T=20-0.21376](https://img.qammunity.org/2019/formulas/mathematics/middle-school/kil1j7f5la1j10v1f7m6jzwsv0ledztyfk.png)
![T=19.786](https://img.qammunity.org/2019/formulas/mathematics/middle-school/tozxzz62wcvkgqulf76cglebmcxhp4tic9.png)
After 15 minutes, the temperature is approximately 20°C