So, there is a an exercise of numerical integration using Gaussian quadrature method. The givens are: f(x) = arcsin x, a = −1, b = 1, i = 2
I was just wondering, do I need to use the know formula for the $n=2$ to integrate the function, which is given as $f(\frac{-1}{\sqrt{3}} + f(\frac{1}{\sqrt{3}})$, because in that case the exercise seems to be trivial as $\arcsin$ is odd function and the integral would be equal to 0. What am I missing here? $$\int^1_{-1} f(x) = f(\frac{-1}{\sqrt{3}}) + f(\frac{1}{\sqrt{3}}) = 0$$ For this result the weights are chosen as $c_1=c_2=1$, but in the exercise that I need to solve the weights are not given, is this norm to just let $c_i = 1$?