Two coherent waves are represented by y1=a1cosωt and y2=a2cosωt. The maximum intensity due to interference will be proportional to