- #1
Theia
- 122
- 1
Hello!
I'd like to ask for a help about how to compute accurately functions which has very intense oscillations. My example is to estimate
\(\displaystyle I = \int_0^{\infty} \sin(x^2) dx= \int_0^{\infty}\frac{\sin(t)}{2\sqrt{t}} dt\).I tried trapezoid rule over one oscillation at a time, but result is poor. My next though is to collect positive parts and negative parts together and add them later on in the code...
Any comments?
Thank you!
I'd like to ask for a help about how to compute accurately functions which has very intense oscillations. My example is to estimate
\(\displaystyle I = \int_0^{\infty} \sin(x^2) dx= \int_0^{\infty}\frac{\sin(t)}{2\sqrt{t}} dt\).I tried trapezoid rule over one oscillation at a time, but result is poor. My next though is to collect positive parts and negative parts together and add them later on in the code...
Any comments?
Thank you!