Question:

If \[\mathrm{f}(x)=\left\{\begin{array}{ll}\mathrm{e}^{\cos x} \sin x & , \text { for }|x| \leq 2 \\ 2, & \text { otherwise }\end{array}\right.\], then \[\int_\limits{-2}^3 \mathrm{f}(x) \mathrm{d} x\] is equal to

Show Hint

The first piece is an odd function over a symmetric interval.
Updated On: Nov 17, 2026
  • 0
  • 2
  • 1
  • 3
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Split the integral: \(\int_{-2}^{3}f(x)dx=\int_{-2}^{2}e^{\cos x}\sin x\,dx+\int_{2}^{3}2\,dx\).

Step 2: First part
\(g(x)=e^{\cos x}\sin x\) is odd since \(\cos x\) is even and \(\sin x\) is odd, so \(\int_{-2}^{2}g\,dx=0\).

Step 3: Second part
\(\int_2^3 2\,dx=2\).

Step 4: Compare the options
Total \(=0+2=2\), option (B).

Final Answer:
The integral equals 2. \[ \boxed{\text{(B) }2} \]
Was this answer helpful?
0
0