Solveeit Logo

Question

Mathematics Question on integral

The value of the integral ππcos2x1+axdx,\int\limits^{\pi}_{-\pi}\frac{\cos^2x}{1+a^x}dx,
a > 0 is

A

1

B

0

C

π2\frac{π}{2}

D

π

Answer

π2\frac{π}{2}

Explanation

Solution

The correct option is (C) : π2\frac{π}{2}.