Question: How to add ranges to an indefinite integral?

Example: After manipulating the following indefinite integral

Int(r^2, m)

I want to add ranges before evaluating the integral (for display purposes I keep the innert form). The op command or the IntegrationTools can be used for that (disassembling the expression and assembling it to new int expression) but require quite long code. Isn’t there a shorter  way to simply add ranges to the integration variable.

Update: Download Add_range.mw

Please Wait...