• Jun 30th 2009, 09:52 PM
zangestu888
I hope i have this posted in the right section, heres my question ; approximate the integral with 4 steps
inte(b=pi/4 and a=0) to 6 decimal places using guassian quadrature..
my problem here is that i missed class and am not sure at al how to do guassian quadrature if anyone can lead me to a site with a nice simple examples that may be similar to my question i just need information on how to to do such a problem, i consulted my txtbook no help to confusing no examples. please if anyone can teach me how to approach guassian qudarature problems thanks!
• Jun 30th 2009, 09:58 PM
Prove It
Quote:

Originally Posted by zangestu888
I hope i have this posted in the right section, heres my question ; approximate the integral with 4 steps
inte(b=pi/4 and a=0) to 6 decimal places using guassian quadrature..
my problem here is that i missed class and am not sure at al how to do guassian quadrature if anyone can lead me to a site with a nice simple examples that may be similar to my question i just need information on how to to do such a problem, i consulted my txtbook no help to confusing no examples. please if anyone can teach me how to approach guassian qudarature problems thanks!

What function is being integrated?
• Jun 30th 2009, 10:02 PM
zangestu888
oops soory lol um the function am currently looking at is
1/1+x^2 meaning its an easy function so were just ryin to test the error, was reading about guassian qudarature it seems its all in the interval from [-1,1] how can i transfom my points to such?
• Jun 30th 2009, 10:23 PM
zangestu888
i think imight have got it my approximation was around 0.663836 i hope am close