Trinh @ Bath

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
vpde_lecture23 [2020/03/26 13:31]
trinh
vpde_lecture23 [2020/03/26 13:32]
trinh
Line 20: Line 20:
  
 The hardest part is to understand how to calculate the $b_n$ coefficients via an odd extension of the initial condition. In many ways, this is somewhat backwards (usually we ask "How do I compute a Fourier series for an odd extension" rather than to associate a Fourier series already given to an odd extension).  The hardest part is to understand how to calculate the $b_n$ coefficients via an odd extension of the initial condition. In many ways, this is somewhat backwards (usually we ask "How do I compute a Fourier series for an odd extension" rather than to associate a Fourier series already given to an odd extension). 
 +
 +Anyways, this we do in the video, and there we show that 
 +$$
 +b_n = -\frac{2}{n\pi}[(-1)^n - 1]
 +$$
 +
 +We'll then share a numerical simulation of this heat flow problem in the lecture. The code is below.
  
 <Code:Matlab linenums:1 |Solution of 1D heat equation with zero Dirichlet> <Code:Matlab linenums:1 |Solution of 1D heat equation with zero Dirichlet>