Approximate methods for solution of differential and integral equations