$$\int x^2\cosh(x)\,\mathrm dx$$
So my working out follows -
In the first step I have made $x^2=u$, and $\cosh(x) = \dfrac{dv}{dx}$
$= uv - ∫v \dfrac{dv}{dx}$
$= x^2\sinh(x) - ∫\sinh(x)2x$
$= x^2\sinh(x) - 2x\cosh(x) - ∫2\cosh(x)$
And my final figure is $x^2\sinh(x) -2x\cosh(x) - 2\sinh(x) + c$
However wolframalpha is saying that the end term should be $+ 2\sinh(x)$ not minus. But I can't see how.
I see your error. You only failed to distribute a negative sign. The integration being pretty short, I will recreate it. We have $$\int x^2\cosh(x) \, dx.$$ Using the formula $\displaystyle\int u \, dv = u \, v - \int v \, du$ twice, we first take \begin{align*} u=x^2 &\quad v=\sinh(x) \\ du=2x &\quad dv=\cosh{x}. \end{align*} Hence the integral becomes $$x^2\sinh(x)-2\int x \sinh(x) \, dx.$$ Applying the method again on the last integrand, we take \begin{align*} u=x &\quad v=\cosh(x) \\ du=1 &\quad dv=\sinh(x). \end{align*} Now we get \begin{align*} &x^2\sinh(x)-2\left[ x\cosh(x)-\int \cosh(x) \, dx \right] \\ =&x^2\sinh(x)-2\left( x\cosh(x)-\sinh(x)\right) \\ =&x^2\sinh(x)-2x\cosh(x)+2\sinh(x)+c. \end{align*}
Your method was otherwise perfect.