numerical programming worksheet 3