numerical methods task