Single slit diffraction problem