I’m trying to plot three functions involving oscillatory integrals.
I also implemented these functions in Python using SciPy, and the plots there look similar for all three functions. However, in Mathematica, the curves differ. What is the reason? Which one is correct? Python or Wolfram? this is the link of the Python code which you can run it in colab
I took a symbolic look at the three functions to be integrated. The first two are identical. The third is not identical, but it differs from the others by an odd function, whose integral between -30 and 30 vanishes. Is this just a test for numerical algorithms?