A technique for transforming a set of partial differential equations to a set of simultaneous equations so that the solution to the simultaneous equations satisfy the partial differential equations in a mean sense.The form used in the finite element method is the Galerkin process. This leads to identical equations to those from virtual work arguments.