Trapezoidal Rule Homework: Integrate 0 to 2 x^3

  • Thread starter Thread starter mxthuy95
  • Start date Start date
mxthuy95
Messages
3
Reaction score
0

Homework Statement



Determine and evaluate a definite integral for which (1/40( (0)^3 + 2(.05)^3 +2(.1)^3 +... 2(1.95)^3 + (2)^3 )) is a trapezoidal approximation. Which is greater, the integral or trapezoidal approximation why

Homework Equations

The Attempt at a Solution



So i figure that the the original equation is x^3 and the limits are 0 to 2 so i got this integral

2
∫ X^3 = 4.0025 using trapezoidal rule with n=20 on my Riemann sum program. I said that this is
0

greater than the actual integral because the graph is increasing and concave up. I check with my

teacher and it was wrong. So where did i go wrong.

Thank you.
 
Physics news on Phys.org
I said that [the trapezium approx for ##\int_0^2x^3dx##] is greater than the actual integral because the graph is increasing and concave up.
That's what I'd have said too.
Have you correctly identified the function being integrated?
Have you use the correct reasoning?

(1/40( (0)^3 + 2(.05)^3 +2(.1)^3 +... 2(1.95)^3 + (2)^3 ))
... that would be: $$\frac{1}{40}\left (
0^3+2(0.05)^3+2(0.1)^3+\cdots + 2(1.95)^3+(2.0)^3
\right )$$

Compare with the trapezoidal rule:
$$\int_a^b f(x)dx \approx \frac{b-a}{2N}\left ( f(x_1)+2f(x_2)+\cdots +2f(x_{N-1})+f(x_N) \right )$$... I'm having trouble faulting this.
Perhaps the teacher means something else?
 
" ... with n=20 ..."

n = 40, not 20. That's the only thing I can see.'wrong'.
 
It could be that simple.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top