Re: Simpson's Approximation

Quote:

Originally Posted by

**Bowlbase** I am not getting the correct answer for this so I'm sure I'm messing up some arithmetic or missing a step. Any help would be appreciated.

Use Simpson's Approx. for:

Plugging in 0,.1,.2,...,.9,1 into the function I get

This equals roughly 1.11585

However, when I evaluate the integral

I end up with 1.14915. Where is the discrepancy coming from? Thanks for the help!

Reconsider the value of the integrand at x=0.

CB

Re: Simpson's Approximation

Tan(0)/0 should be 0 no? Or, at the very least, undefined.

I should add that I'm using a calculator and Wolframalpha alpha to evaluate. Is this just a reasonable amount of error from the approximation?

Re: Simpson's Approximation

Okay, I got it.

I needed to use limit as x approaches 0 = 1. That gets me a lot closer to the answer.