1) This document contains code to perform Gaussian-Legendre numerical integration of the function 1/(1+x^2) between limits 0 and 1 using 6 points.
2) The values of u and weight factors w for 6 points of Gaussian-Legendre integration are defined.
3) The Gaussian-Legendre formula is implemented in a for loop to calculate the summation, which is then used to calculate the final integral I.
1) This document contains code to perform Gaussian-Legendre numerical integration of the function 1/(1+x^2) between limits 0 and 1 using 6 points.
2) The values of u and weight factors w for 6 points of Gaussian-Legendre integration are defined.
3) The Gaussian-Legendre formula is implemented in a for loop to calculate the summation, which is then used to calculate the final integral I.
1) This document contains code to perform Gaussian-Legendre numerical integration of the function 1/(1+x^2) between limits 0 and 1 using 6 points.
2) The values of u and weight factors w for 6 points of Gaussian-Legendre integration are defined.
3) The Gaussian-Legendre formula is implemented in a for loop to calculate the summation, which is then used to calculate the final integral I.