This code helps to visualize concept of interference. When interference is maximum and when it is minimum.
- There is two sine waves of Same frequency. One is stady and other is shifting its phase(Moving).
- After every small phase shift their interference is taken and Displayed.
- Interference is computed using Principle of super position.
- when they are in phase result is maximum. And when phase shift is 90 result is 0.
This code is mainly written in MATLAB (2017a) but also tested in GNU Octave 4.2.2
- Clone or download Repository.
- Open MATLAB or Octave.
- Navigate inside the Repository.
- Run Interference.m file