The diagram above illustrates a variation of the displacement y of a wave particle with…