Galerkinâs Method for Differential Equation In order to make the the residue a minimum at least at few selected nodal points, we use orthogonality condition (I) Integrating…