101.7 Problem number 1394

\[ \int \frac {e^{-e^{9-x}} \left (-40+10 x+e^{9-x} \left (122-80 x+10 x^2\right )+e^{9-x} \left (61-40 x+5 x^2\right ) \log \left (61-40 x+5 x^2\right )\right )}{61-40 x+5 x^2} \, dx \]

Optimal antiderivative \[ \left (\ln \left (-19+5 \left (4-x \right )^{2}\right )+2\right ) {\mathrm e}^{-{\mathrm e}^{9-x}} \]

command

integrate(((5*x**2-40*x+61)*exp(9-x)*ln(5*x**2-40*x+61)+(10*x**2-80*x+122)*exp(9-x)+10*x-40)/(5*x**2-40*x+61)/exp(exp(9-x)),x)

Sympy 1.10.1 under Python 3.10.4 output

\[ \left (\log {\left (5 x^{2} - 40 x + 61 \right )} + 2\right ) e^{- e^{9 - x}} \]

Sympy 1.8 under Python 3.8.8 output

\[ \text {Timed out} \]________________________________________________________________________________________