Write a program to evaluate trapezoidal rule and simpsons rule
Answers
Answered by
0
Simpson's Rule. Since it uses quadratic polynomials to approximate functions, Simpson's rule actually gives exact results when approximating integrals of polynomials up to cubic degree. whereas the trapezoidal rule (area under the red curve) gives and the actual answer is 1. with being some value of in the interval .
Similar questions