Skip to content

Added example with Dirichlet boundary conditions to the lecture8 directory.

Jonathan Chan requested to merge J/math-405_607e-fall-2019:master into master

For the ODE BVP -u'' + u = x, prob2.m gives a second-order scheme with boundary conditions u(0) = 0 and u(1) = e^(-2), for which the exact solution is u(x) = e^-(x+1) - e(x-1) + x.

Merge request reports

Loading