I am trying to determine the node values in the Gaussian type quadrature formula given by:
I need to find the weight coefficients for the Gaussian quadrature when the weight function is $ w(x) =\frac {1}{\sqrt{1-x^2}} $
In order to do so, I use the Gram-Schmidt process on the standard polynomial basis to get a second degree orthogoanl polynomial. The roots of this polynomial are the nodes.
I get -0.877 and -0.242 as the nodes which are within the integral range of -1 to 0.
How can I proceed from here to find the wieght coefficients?
Searching online I found this formula from Atkinson's 'An Introduction to Numerical Analysis'
During the calculation here, obne of the weight coefficients returns negative, which is impossible. I am therefore confused as to what I am doing wrong and if this is the right way to proceed. Any suggestoins are appreciated.

