Triangular elements in the finite element method