Simpson's Rule and the Trapezoidal Rule
You can animate each one on the "live" worksheet.
> | restart: |
> | with(plots): |
Warning, the name changecoords has been redefined
> | with(Student[Calculus1]): |
> | ApproximateInt(1+x+sin(x^4),x=0..2,method=trapezoid,color=blue,partition=4,output=animation,iterations=8,showarea=true); |
> | ApproximateInt(1+x+sin(x^4),x=0..2,method=simpson,color=blue,partition=4,output=animation,iterations=8,showarea=true); |
> |