Am I doing this right? (Trapezoidal Rule)
\[\int\limits_{0}^{2} x^2dx\] \[\frac{ 2 }{ 2(4) } (2)(1+4)\] \[\frac{ 1 }{ 2 } (5) \] \[= 2.5\]
What is your "n" given value?
oh sorry n=4
So your midpoints (∆x) are: [0,0.5][0.5,1][1,1.5][1.5,2] b/c your given bounds are from 0 to 2.
uhh, what midpoints?
Sorry, subintervals.
sorry, why would you need subintervals? cuz my textbook says nothing about that.
ohhhh i see
Then you just plug in those values into: \[\int\limits_{a}^{b}f(x)dx \approx \frac{ ∆x }{ 2 }[f(x_0)+2f(x_1)+2f(x_2)+...=2f(x_{n-1})+f(x_n)]\]
yeah i understand what i did wrong now....
I hope this clears things up.
Note that all the function evaluations, with the exception of the first and last, are multiplied by 2. Just so you can remember.
i got the same answer when i divided it...
ok. Whatever works. Best of luck :)
oh just kidding my mistake..
Join our real-time social learning platform and learn together with your friends!