newton cotes exercise completed