high schooler here.i was not convinced by the validity of the huygens secondary wavelets hypothesis and beleived that both interference and diffraction should arise from the simple wave equation $A=sin(wt-kx)$
so i went to code and here are some simulations,i want to know whether these are correct.
there are two point sources in a 2d plane and the amplitude of each pixel is calculated by summing the wave equations of each source at the pixel(principle of superposistion)
and voila! hyperbolic interference as expected(right?) any ways now i need to see whether diffraction arises in the same way for which i run into a problem as i have no idea to create a linear source.
But then i thought atoms.linear sources dont realy exist in nature either.what if each linear source is just millions of point sources in a line.so here is a 200*200 resolution area with 20 point sources in a line
the red and green are troughs and crests.at the right hand side you can find that the waves are almost linear.now running agan with 200 point sources.
we have our linear source.
now considering a slit in the screen.
there alternate fringes with a thick central fringe and other fringes of decreasing intensity.its a little rough but i think that is due to the small 200*200 area.
so what i want to know is that all beginners(read me and my classmates) seem to think that a slit bends the plane wave into spherical wave magically via Huygens principle which makes no intuitive sense(for me).Now what i think is that the slit breaks the linear source,such that the edge particles no longer have their spherical waves cancelled into the linear waves causing this multisource interference we call diffraction,right?
if you find the simulations to be correct please comment and inform.




