## anonymous 4 years ago Solve a definite integral using Simpson's Rule

1. anonymous

$\int\limits_{0}^{6}x ^{2}dx$

2. anonymous

Using Simp(2)

3. anonymous

This is just chug and plug I believe.

4. Zarkon

it will be the same as the actual answer

5. anonymous

what?

6. anonymous

Yes Zarkon is right, but actually simpson formula would be tedious in this case.

7. Zarkon

simpsons rule is exact for a quadratic function

8. anonymous

lol fool i need to use it though

9. anonymous

can you tell me the formula of simpson's rule?

10. anonymous

6/6[ f(0) + 4f( .5 ) + 2f(1) + 4f(1.5) + 2f( 2) + 4f( 2.5) + 2f( 3) + 4f ( 3.5) + 2f( 4) + 4f (4.5 ) +2 f( 5) +4 f( 5.5 ) + f( 6) ]

11. Zarkon
12. anonymous

Btw If I remember correctly there is another constraints that should be involved which is number of decimal places.

13. anonymous

oh Thanks Zarkon :D

14. anonymous

Well we learnt the formula (2M+T)/3

15. anonymous

I guess this is pretty tedious

16. anonymous

try computing the error estimate :)

17. anonymous

Yes it is but this formula useful for somewhat complicated integrals.

18. anonymous

yea, som thing cannot be integrated( easily) this is sometime a way to approximate a solution.

19. anonymous

Thanks zarkon <Roachie and fool

20. anonymous

just try to have fun with it!

21. anonymous

LOL Trying but mt brain is fried lol

22. anonymous

you can find the definite integral?

23. anonymous

lol I am in the midst of figuring it out

24. anonymous

ok then do it with Simp and see!