Two coherent waves are represented by y₁=a₁ cosω t and y₂=a₂sinωt. The resultant intensity due to interference will be
A. (a₁²−a₂²)
B. (a₁²+a₂²)
C. (a₁−a₂)
D. (a₁+a₂)