bvp_shooting_test, an Octave code which demonstrates the use of the shooting method to solve a boundary value problem (BVP).
The computer code and data files made available on this web page are distributed under the MIT license
bvp_shooting_test is available in a MATLAB version and an Octave version.
bvp_fd, an Octave code which demonstrates the use of the finite difference method to solve a boundary value problem (BVP).
bvp4c_test, an Octave code which calls bvp4c(), which solves boundary value problems (BVP) in one spatial dimension.
fd1d_bvp, an Octave code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.
fem1d, an Octave code which applies the finite element method (FEM) to a 1D linear two point boundary value problem (BVP).
fem1d_bvp_linear, an Octave code which applies the finite element method (FEM), with piecewise linear elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
fem1d_bvp_quadratic, an Octave code which applies the finite element method (FEM), with piecewise quadratic elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.
fem1d_lagrange, an Octave code which sets up the matrices and vectors associated with the finite element method (FEM) solution of a boundary value problem (BVP) -u''+u=f(x), using Lagrange basis polynomials.
pdepe_test, matlab programs which illustrate how MATLAB's pdepe() function can be used to solve initial boundary value problems (IBVP's) in one spatial dimension.