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**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica Help

Loading...

Similar Threads for Mathematica Help | Date |
---|---|

Mathematica Mathetica function (help fix my equation please) | Mar 15, 2016 |

Mathematica Undetermined gauges (Help in mathematica)() | Oct 27, 2014 |

Mathematica Help with "Which[] in a For loop using Mathematica | Sep 12, 2014 |

New to mathematica, some basic help needed | May 10, 2014 |

Mathematica NDSolve conditions help | Dec 22, 2013 |

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