two coherent waves are represented by y1=a1cosω t and y2=a²sinωt. The resultant intensity due to interference will be
A (a1²−a2²)
B (a1²+a2²)
C (a1−a2)
D (a1+a2)