Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yeah, this sort of thing is tricky because there may not be a closed form solution. See this question and this question on this site for just two examples. I suppose that some variant of this answer using numerical_integral might work.