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!

2. 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?

3. 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?

4. i think imight have got it my approximation was around 0.663836 i hope am close