Trinh @ Bath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
vpde_lecture24 [2020/03/28 12:43]
trinh created
vpde_lecture24 [2020/04/04 21:55]
trinh [Example 15.4: Solution of the inhomogeneous Dirichlet problem]
Line 1: Line 1:
-====== Computation of the heat equation III ======+====== Lecture 24: Computation of the heat equation III ======
  
 <html> <html>
Line 5: Line 5:
 </html> </html>
  
-//Need to write this.//+====== Example 15.4: Solution of the inhomogeneous Dirichlet problem ====== 
 + 
 +This lecture starts off with Example 15.4 from the notes, where we look to solve 
 +$$ 
 +\begin{gathered} 
 +u_t = u_{xx} \\  
 +u(0, t) = 2, \qquad u(\pi, t) = 1 \\  
 +u(x, 0) = 0. 
 +\end{gathered} 
 +$$ 
 + 
 +We show that the solution is given by  
 +$$ 
 +u(x, t) = U(x) + \sum_{n=1}^\infty B_n \sin(nx) \mathrm{e}^{-n^2 t}  
 +$$ 
 +where we have found the steady-state solution  
 +$$ 
 +U(x) = 2 - \frac{x}{\pi}, 
 +$$ 
 +as well as the coefficients 
 +$$ 
 +B_n = \frac{2}{n\pi}[(-1)^n - 2]. 
 +$$