The set of boundary conditions at the boundary points x=0 and x=L, presented in equation (4.2), can be imposed on the assembled set of finite element equations (4.24), as depicted in (4.4). The Dirichlet boundary condition (φ(x=0)=0) implies that c1=0, while the Neumann boundary condition requires that
The application of the boundary conditions of the problem on the assembled set of equations reduces equation (4.24) to
In this way, the assembled matrix contains two equations in two unknowns c2 and c3, which are the nodal values of the solution.