In a double pipe heat exchanger, hot fluid flows inside a pipe and cold fluid flows outside in the annular space. The heat exchange between the two fluids is given by the differential equations, (refer to Exercise 2.5.12)

Develop the stiffness matrix and forcing vector using
(a) Sub-domain method
(b) Galerkin method.