restart; # Trapeziod and Simpson's method for numerical integration. with(Student[Calculus1]); ApproximateInt(x/(1+x^4),x=0..2,method=trapezoid,partition=8,output=plot); ApproximateInt(x/(1+x^4),x=0..2,method=simpson,partition=4,output=plot);