The diagram above shows two wave forms P and Q at a particular instant in…