How do you do the trapezoidal rule to compute int logxdx from [1,2]?

1 Answer
Jun 19, 2015

int_1^2logx dx≈log2/2≈0.34657

Explanation:

Using the trapezoidal rule, the expression int_1^2logx dx becomes (2-1)[(log1+log2)/2]=log2/2≈0.34657.

It's important to notice that it's only an approximate value (n=1) and it contain a percentage of error : the correct value would be around 0.38629, but with this formula we found approximately 0.34657.