What is an appropriate method to approximate $$I=\int_0^\infty e^{-t^2 /100} \sin \pi t \ dt?$$ This is for a Physics problem, but in fact I need this in general, as my professor and book taught us nothing about numerical methods for integrals. Also, I found on the internet various techniques for proper ones, but I'm having trouble with making $I$ manageable.
Finally, note that I have indeed come to know $$\int_0^\infty e^{-t^2 /\alpha} \sin \pi t \ dt =\sqrt{\alpha}F\left(\frac{\sqrt{\alpha} }{2}\pi\right),$$ where $F$ is Dawson's integral, however what I'm asking for is approximations.
Option 1:
Cut off the domain on $[0,M]$, for some $M$ chosen such that the integral over $[M,\infty)$ is at most half of the desired tolerance. Then use a standard quadrature routine like the trapezoidal rule or Simpson rule on $[0,M]$, with a small enough step size that the error on $[0,M]$ is at most half of the desired tolerance.
Option 2:
Use option 1, but with larger step sizes where the integrand is smaller. This is helpful in your problem, because your integrand is extremely small outside a moderately large interval around $0$ (like $[0,100]$).
Option 3:
Define $F(t)$ to be the even extension of $\sin(\pi t)$ from $[0,\infty)$ to $\mathbb{R}$. (So $F(t)=\sin(\pi t)$ for $t \geq 0$ and $F(t)=\sin(-\pi t)$ for $t<0$.)
Write $$I=\int_0^\infty e^{-t^2/100} \sin(\pi t) dt = \frac{1}{2} \int_{-\infty}^\infty e^{-t^2/100} F(t) dt =5 \int_{-\infty}^\infty e^{-s^2} F(10s) ds$$
and then perform Gauss-Hermite quadrature.
Option 4:
Similar to option 3, write
$$I=\frac{\sqrt{50}}{2} \int_{-\infty}^\infty e^{-s^2/2} F(\sqrt{50}s) ds$$
and then recognize this as $\frac{\sqrt{50}}{2} E(F(\sqrt{50}X))$, where $X$ is a standard normal random variable. Then compute this expectation using a Monte Carlo procedure. (This is probably the worst of the four options I've given here.)
Option 5 (perhaps the best, suggested by @uranix):
Write
$$I=10 \int_0^\infty e^{-s^2} F(10s) ds$$
and then use Gauss quadrature directly. As far as I know, this particular form of Gauss quadrature does not have a special name and its parameters are not well-tabulated, but one can use the Golub-Welsch algorithm to generate the nodes and weights directly. The only thing the Golub-Welsch algorithm needs for this case that it can't generate by itself is $\int_0^\infty e^{-x^2} dx$ which is of course $\frac{\sqrt{\pi}}{2}$.