Thank you John, this was so helpful
Thank you John. I attached a picture of the problem to make it clearer
This doesn't make any sense. You appear to be using the name r to refer to the variable of integration as well as an independent parameter. Please be clearer.
r