I have numerically calculated the integral $$\int_{-1}^{1}\frac{e^{-x^2}}{\sqrt{1-x^2}}dx$$ using Gauss-Legendre and Gauss-Chebyshev quadrature. Now, I am asked to calculate the integral using the trapezoidal rule and compare the different methods. I had previously used the trapezoidal method for other integrals, however, with this one, I can't evaluate the function at the limits of the integral, since the denominator is $0$.
How can I calculate this integral using the trapezoidal rule? Is it even possible?