What don't ants get sick?
They have anty-bodies.
Parameter values for numerical solution are listed below.
Formulate differential equation for equilibrium temperature inside wall as function of distance from interior side of wall.
We will model temperature at a point inside wall by considering thin section and then letting thickness of section tend to zero.
Using the balance law, the word equation for our assumptions and compartment diagram is shown below.
\[ \small{ \begin{aligned} \begin{Bmatrix} \mathrm{change \, in \, heat } \\ \mathrm{content \, of \, section } \end{Bmatrix} &= \begin{Bmatrix} \mathrm{heat \, conducted } \\ \mathrm{into \, section } \end{Bmatrix} - \begin{Bmatrix} \mathrm{heat \, conducted } \\ \mathrm{out \, of \, section } \end{Bmatrix} \\ &= 0 \end{aligned}} \]
Recall the following unit considerations:
Word equation for thermal equilibrium becomes
\[ \small{0 = J(x)A - J(x+ \Delta x)A } \]
Let \( \small{h = \Delta x} \), and divide both sides by \( \small{(- A h)} \):
\[ \small{ \frac{J(x+ h) - J(x)}{h} = 0 } \]
Apply limit operator with \( h \rightarrow 0 \) to both sides:
\[ \small{ \begin{aligned} \lim_{h \rightarrow 0} \frac{J(x+ h) - J(x)}{h} & = \lim_{h \rightarrow 0} (0) \\ \frac{dJ}{dx} & = 0 \end{aligned} } \]
Using Fourier's law:
\[ \small{ \begin{aligned} \frac{d}{dx} \left(-k \frac{dU}{dx} \right) &= 0 \\ \frac{d^2 U}{dx^2} &= 0 \end{aligned} } \]
\[ \small{\frac{d^2 U}{dx^2} = 0 \Rightarrow U(x) = a x + b} \]
\[ \small{y'' + ay' + cy = g(x), \,\,\, y(0) = y_{10}, \,\,\, y'(0) = y_{20}} \]
\[ \small{ \begin{aligned} y_1' & = y_2, \, y_1(0) = y_{10} \\ y_2' & = g(x) - a y_2 - b y_1, \, y_2(0) = y_{20}\\ \end{aligned}} \]
The IVP for thermal equilibrium in the wall is
\[ \small{y'' = 0, \, y(0) = y_{10}, \, y'(0) = y_{20}} \]
From Fourier's law, \( \small{J = -ky'} \). Thus the IVP becomes
\[ \small{ \begin{aligned} y_1' &= y_2,\,\,\, y_1(0) = y_{10} \\ y_2' &= 0, \,\,\,\,\, y_2(0) = y_{20} = (-1/k)J(0) \end{aligned} } \]
Our goal is to find \( \small{y_1 = y} \), but we also find \( \small{y_2} \) along the way.
Recall the parameter values specified in the Background section:
\[ \small{\begin{aligned} y'' &= 0, \, y(0) = y_{10}, \, y'(0) = y_{20} \\ y_1' &= y_2,\,\,\, y_1(0) = y_{10} \\ y_2' &= 0, \,\,\,\,\, y_2(0) = y_{20} = (-1/k)J(0) \end{aligned}} \]
#System of ODEs
a <- 0
b <- 0
g <- 0
f1 <- function(y2) {y2}
f2 <- function(y1,y2) {g-a*y2-b*y1}
#Place additional graph in plot
lines(x,-k*y2, type="l",col="red")
Graph of numerical solution for 1 m wall:
WallTemp(1)
\[ \small{\begin{aligned} y'' &= 0, \, y(0) = y_{10}, \, y'(0) = y_{20} \\ y_1' &= y_2,\,\,\, y_1(0) = y_{10} \\ y_2' &= 0, \,\,\,\,\, y_2(0) = y_{20} = (-1/k)J(0) \end{aligned}} \]
[1] Mathematical Modeling with Case Studies, Barnes and Fulford, CRC Press, 2015.
[2] Shelter (building), https://en.wikipedia.org/wiki/Shelter_(building), retrieved on 10/2/2022.
[3] The Technology Of Clothing And Shelter, https://gohighbrow.com/the-technology-of-clothing-and-shelter/, retrieved on 10/2/2022.
[4] Origin of Clothing Lice Indicates Early Clothing Use by Anatomically Modern Humans in Africa, https://academic.oup.com/mbe/article/28/1/29/984822, retrieved on 10/2/2022.