I want mathematica to evaluate a certain expression (see attached) assuming that n is an integer. The answer is far from what it produces. Maple produces the right answer but I don't have access to it.(adsbygoogle = window.adsbygoogle || []).push({});

The expression is

[tex]\frac{\int_{-\pi}^{\pi}|\sin(x)|\cos(nx)\dx}{\int_{-\pi}^{\pi}\cos^2(nx)\dx}[/tex]

**Physics Forums - The Fusion of Science and Community**

# Mathematica Help

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Mathematica Help

Loading...

**Physics Forums - The Fusion of Science and Community**