solving problems in numerical methods