This is the function I am trying to approximate using Simpson's rule:
$$\int_0^1 f(x) \: \text{d}x =\int_0^1 \frac{e^x}{\sqrt{1-x^2}} \: \text{d}x.$$
Of course, Simpson's rule is of the form $$\int_a^b g(x) \: \text{d}x \approx \frac{b-a}{6}\left( g(a) +4g\!\left( \frac{a+b}{2} \right) +g(b) \right),$$ but in this case $f(x) \to \infty$ as $x \to 1$. I'm not sure if there is any kind of work around here, any help would be great!
By integrating by parts, using $$ (e^x)'=e^x, \qquad \left(\arcsin x \right)'=\frac{1}{\sqrt{1-x^2}},\qquad -1<x<1, $$ one gets $$ \int_0^1 \frac{e^x}{\sqrt{1-x^2}} \: dx=\left.e^x \frac{}{}\arcsin x\right|_0^1-\int_0^1e^x \frac{}{}\arcsin x \:dx $$ and the latter integral is more suitable for the Simpson rule, the function $\arcsin(\cdot)$ being bounded over $[0,1]$.