The provided solution does not work, when I multiply the expression with an exponent of a constant:
syms x A1 A2 B C
eq0 = x^14*exp(-A2*x)*exp(-x^2/2);
eq1 = B*eq0;
eq2 = exp(-A1)*eq0;
eq3 = B*exp(-A1)*eq0;
sol1 = int(eq3,x,-inf,inf);
sol2 = simplify(sol1,'steps',1000)
sol3 = simplify(sol2,'steps',200)
Is there a quick simplification to get to the algebraic solution?
Alternatively, I could imagine splitting up the integrand into independent and dependent parts of x and only integrating the dependent parts. Is there a way to use the "children" function to split expressions into dependent and independent parts?