Interference Pattern And Diffraction Pattern Simulation