Estimating with simpson rule

I have a question that is supposed to be very easy in a test:We approximate $\displaystyle \int_0^1 x^2$ with Simpsonrule, and 5 intervals. Choose solution:Firstly I don't understand what is meant with 5 intervals. Are the intervals not supposed to be even?Secondly, it's an easy test question. How can we get the reply fast without calculating$\frac{h}{3}(y_0+4y_1+y_2)?$...Read more

Trapezoidal and simpson rule question here?

The trapezoidal rule applied on $ \int_0^{2} [f(x)] dx$ gives the value 5 and the Midpoint rule gives the value 4. What value does Simpson's rule give?So we have that T=f(0)+f(2).The Simpson's value is S=(1/3)*(f(0) + 4f(1)+ f(2))f(1) here is equal to 4 since its the midpoint value..I dont how how to combine these together to find the simpson's value...Read more

simpsons rule - Error bound for $\cos(x^3)$ under Mn, Tn and Sn

In this problem we will approximate the integral of $\cos(x^3)$ over the interval $[0, 2]$.(a) Write an expression for MN, TN and SN with $N = 4$.(b) For each of the approximations determine an N so that the error is guaranteedto be less than $10^{-4}.$ You will find it useful to know that on the interval $[0, 2], |\frac {d^4\cos(x^3)}{dx^4} | \le 850$.Please help me with the question. Thanks a lot!...Read more

Doubling Number of Nodes In Composite Simpson's Rule

Let n be even. Show how the composite Simpson rule with 2n equally spaced nodes can be computed from the case of n equally spaced nodes with a minimum amount of additional work.I've been working on this problem for almost 2 hours now and can't seem to get anywhere. I feel it has something to do with the initial conditions on the [a,b] interval ($x_i=a+ih \text{ and } h=\frac{b-a}{2}$) and working the problem so there are the same number of terms to calculate in 2n as there are in n. There's always replacing any instance of n with 2n and halving...Read more

simpsons rule - Error bound for $\cos(x^3)$ under Mn, Tn and Sn

In this problem we will approximate the integral of $\cos(x^3)$ over the interval $[0, 2]$.(a) Write an expression for MN, TN and SN with $N = 4$.(b) For each of the approximations determine an N so that the error is guaranteedto be less than $10^{-4}.$ You will find it useful to know that on the interval $[0, 2], |\frac {d^4\cos(x^3)}{dx^4} | \le 850$.Please help me with the question. Thanks a lot!...Read more