Hi,
try
Assuming[m [Element] Integers && m > 0, Integrate[t Sin[2 m t], {t, 0, Pi}]]
It also works with n, but I usually try to avoid n because there is a function N and sometimes that can be confusing.
Cheers,
Marco
It’s magic and you’re great, many thx
Milos.
PS : I read your post with Outlook and thus, n apparates as dollar-n-dollar. Sorry, but I’m still curious abour the perhaps dysfunction of (Elements->..) ?
PS : I read your post with Outlook and thus, n apparates as
dollar-n-dollar. Sorry, but I’m still curious abour the perhaps
dysfunction of (Elements->..) ?
I don’t use Outlook, but the n comes from the markdown syntax that the community uses. It’s a bit like Latex and I instinctively use it for formatting text. If you read the post in a browser it will not show up.
Regarding the Element function I think it works just fine.
This function shows you what is going on in my line of code:
Assuming[m \[Element] Integers && m > 0, Integrate[t Sin[2 m t], {t, 0, Pi}]] // HoldForm // TreeForm