approximate integral

• July 31st 2006, 03:17 PM
norivea
Help needed!
I really need some help answering the following question. There is an example of how it should be completed but I don't understand it. The example has a diagram and advises the use of either Trapezium rule or Simpson's rule.

Question: Use a numerical method to find the area enclosed by the graph of y = x² sin x, the x axis and the lines x = 1 and x = 2.
Use an interval of 0.4

• July 31st 2006, 06:59 PM
ThePerfectHacker
Quote:

Originally Posted by norivea
I really need some help answering the following question. There is an example of how it should be completed but I don't understand it. The example has a diagram and advises the use of either Trapezium rule or Simpson's rule.

Question: Use a numerical method to find the area enclosed by the graph of y = x² sin x, the x axis and the lines x = 1 and x = 2.
Use an interval of 0.4

For example use 4 divisions.
Then,
$\Delta x=\frac{2-1}{4}=.25$
Thus, (by trapezoid rule),
$.5[f(1)+2f(1.25)+2f(1.5)+2f(1.75)+f(2)]\times .25$
You can do the calculations.
• August 1st 2006, 01:12 AM
norivea
1 Attachment(s)
So just for further clarification, I have attached my answer to this post. The area is 4.5248 with n=10 by Trapezium Rule. When you increase the n, or decrease the interval h, the area will be approaching to the real value.
When n=100, the area is 4.5360
When n=1000, the area is 4.5361

Is this correct?
• August 1st 2006, 02:37 AM
CaptainBlack
Quote:

Originally Posted by norivea
So just for further clarification, I have attached my answer to this post. The area is 4.5248 with n=10 by Trapezium Rule. When you increase the n, or decrease the interval h, the area will be approaching to the real value.
When n=100, the area is 4.5360
When n=1000, the area is 4.5361

Is this correct?

What is K in your image file?

RonL
• August 1st 2006, 05:11 AM
earboth
Hello, norivea,

Quote:

Originally Posted by norivea
...
Question: Use a numerical method to find the area enclosed by the graph of y = x² sin x, the x axis and the lines x = 1 and x = 2.
Use an interval of 0.4...

the x-value shoul read 2.6 . Then the given interval make some sense.

I presume that the K in your image means "continueing"?

Greetings

EB
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 2, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.84434574842453, "perplexity": 755.392766956401}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-26/segments/1466783397695.90/warc/CC-MAIN-20160624154957-00009-ip-10-164-35-72.ec2.internal.warc.gz"}