Solveeit Logo

Question

Mathematics Question on Definite Integral

If f(x)={cosxfor x0 2xfor x<0f(x) = \begin{cases} \cos x & for\ x\geq0 \\\ 2x &for\ x\lt0 \end{cases}, then the value of 2π2dx\displaystyle\int^{\frac{\pi}{2}}_{-2}dx is equal to

A

2

B

-2

C

-3

D

3

E

0

Answer

-3

Explanation

Solution

The correct option is (C) : -3