I'm trying to simulate the Fraunhoffer diffraction at slits(single,double,triple) with Mathematica.
In the picture, the red one is analytical result and the green one is numerical result.
The question is, why does it oscilate on the numerical result? how can I remove it?
The mathematica source file is here.
The slit size is 50um.
I don't think it is the sampling problem, because when I changed the sampling number 500 to 5000, the oscillation was still exist.