Asked by anonymous
Let f(x) be the function e^sin(x/10). If you wanted to estimate the area under the curve for this function from 3 to 5, how many intervals would you need to use to be sure that your upper and lower bounds differered by no more than .01?
Answers
Answered by
drwls
That is a slowly varying function over that interval. It increases from 1.3438 at x=3 to 1.6151 at x = 5. An approximate value for the integral is the mean value times 2, or 2.96.
I suggest you review and apply Simpson's Rule for numerical integration and use it with ten intervals (h = 0.2). There is a description of the method and a formula for its accuracy at
http://mathworld.wolfram.com/SimpsonsRule.html
If you get about the same value with four intervals as you get with ten, you can be quite sure the error will be comparable to the difference betrween the two calculations.
Using Simpson's Rule with four intervals, I get 2.9378 for the integral.
I suggest you review and apply Simpson's Rule for numerical integration and use it with ten intervals (h = 0.2). There is a description of the method and a formula for its accuracy at
http://mathworld.wolfram.com/SimpsonsRule.html
If you get about the same value with four intervals as you get with ten, you can be quite sure the error will be comparable to the difference betrween the two calculations.
Using Simpson's Rule with four intervals, I get 2.9378 for the integral.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.