@ Archie Meade the question tells me to use this substitution...
@ sa-ri-ga-ma
I get
Is this correct, how can i simplify this?
I may well have made a mistake as the answer is
ah thanks HallsofIvy, its stupid the loops i have to jump through, surely seeing i can do the integration would be enough!
Thanks for all the help everyone!