Processing math: 100%

« Previous
Next »

Method 2: Use all φi and insert the Dirichlet condition in the linear system

We can therefore forget about the term u(L)φi(L)!

Boundary terms uφi at points xi where Dirichlet values apply can always be forgotten.

u(x)=N=Nnj=0cjφj(x) N=Nnj=0(L0φi(x)φj(x)dx)cj=L0f(x)φi(x)dxCφi(0)

Assemble entries for i=0,,N=Nn and then modify the last equation to cN=D

« Previous
Next »