The comparative study of collocation method spline, finite difference and finite element method for solving partial equations