Two waves Y1=asinωt and Y2=asin(ωt+δ) are producing interference, then resultant intensity is proportional to