For the calculation of the demagnetizing field a hybrid finite element/ boundary element method is used as explained in Sec. 3.4. This method requires the solution of a Poisson and a Laplace equation. Therefore the former is used in this chapter as an example for a short introduction to the finite element method [15].