Given the abscissae and weights for 7-point Gauss rule with a 15-point Kronrod rule (Wikipedia); Can anyone provide me a working example how to numerically integrate a function given below:
$$\int_0^1 x^{-1/2}\log(x) \textrm{d}x = -4 $$
Provided abscissae and weights for 6-point Guass rule, I know how I can find the integral, but I don't find any working example for using Gauss Kronrod. I find is relatively easy to understand how Gauss Kronrod work if I have a working example. It would be great if someone can suggest some good literature on Gauss Kronrod method (not how to calculate abscissae and weights, there are so many papers about them I have already seen) but about its working.
Gauss quadrature rule looks like this:
$$ \int_{-1}^{1} f(x) \textrm{d}x = \sum_{i=0}^n c_i f(x_i)$$
To convert the limits to what is required by this rule: $$ \int_{a}^{b} f(x) \textrm{d}x = \frac{b-a}{2}\int_{-1}^{1} f(x \cdot \frac{b-a}{2} + \frac{b+a}{2}) \textrm{d}x $$
Effectively this transformation to the function above can be seen as:
$$\int_a^b x^{-1/2}\log(x) \textrm{d}x= \frac{b-a}{2}\int_{-1}^1 (x \cdot \frac{b-a}{2} + \frac{b+a}{2})^{-1/2} \cdot \log(x \cdot \frac{b-a}{2} + \frac{b+a}{2}) \textrm{d}x $$
Thus we can replace the integral part with the summation part, replace the weights and abscissae and we are done.
Can someone kindly provide me the similar transformation for Guass Kronrod? I believe we only need the weights used in gauss quadrature rule; plus we have to use the kronrod weights and abscissae. But how is the equation looking like, I don't know.