**fem1d_lagrange**,
a FORTRAN90 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.

The computer code and data files made available on this web page are distributed under the MIT license

**fem1d_lagrange** is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version.

FEM1D, a FORTRAN90 code which applies the finite element method (FEM) to a 1D linear two point boundary value problem (BVP).

LAGRANGE_INTERP_1D, a FORTRAN90 code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i).

- fem1d_lagrange.f90, the source code.
- fem1d_lagrange.sh, compiles the source code.