This document discusses numerical methods for solving boundary value problems using weighted residual methods. It introduces the weighted residual method and describes how it works by minimizing the residual over the domain. The document provides examples of using the collocation method, including setting up the system of equations in matrix form and choosing appropriate trial functions that satisfy boundary conditions. It also includes an example problem of using the weighted residual method to solve the bar tensile problem.