Computer Science, asked by saheb2128, 11 months ago

Write a program to evaluate trapezoidal rule and simpsons rule

Answers

Answered by luk3004
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