Finite Element Method (FEM) is one of the most popular numerical method to boundary and initial value problems. One distinct feature of FEM is that it can be generalized to the domains of any arbitrary geometry. Theory of FEM is developed on Variational methods.
Part1: Variational Methods, One dimensional Finite Element Analysis