# Definite Integral of Absolute Value Function (Calc I)

1. Mar 25, 2013

### physicsdreams

1. The problem statement, all variables and given/known data

$$\int_{0}^{\ 2\pi} \ |e^{sin(x)}cos(x)| \, dx$$

I know that it simplifies to $$2e- \frac{2}{e} ≈ 4.7$$ I'm not sure how to approach this problem. Do I just break the integral up into the domains where it's positive and negative and integrate each component separately as I would with a much simpler absolute value function?

physicsdreams

2. Mar 25, 2013

### Dick

Yes, that's exactly what you should do.

3. Mar 25, 2013

### physicsdreams

Wow, you're quick! Thanks for the help, Dick. I was hoping there would be a less tedious method to go about solving problems such as these, but I guess that's math for ya'.

Thanks again!

4. Mar 25, 2013

### Dick

Well, it was a pretty easy answer. You're very welcome.