4. (10%) Find the area enclosed by the ellipse (x²/a²)+(y²/b²)=1.
(Hint: cos²x=(1+cos2x)/2.)