Determine location of the maximum of the function $$x \mapsto \frac{x^3}{e^x-1}$$ for $x>0$. Evaluate it with $2$-digit precision. Hint: $3 e^{-3} \approx 0.15$
I calculated
$$\frac{{\rm d}}{{\rm d} x} \left( \frac{x^3}{e^x-1} \right) = \frac{3x^2(e^x-1)-x^3e^x}{(e^x-1)^2}$$
So the root can be calculated from equation $e^x(3-x)=3$. However, I don't know how to derive $x$ from this equation and I don't know how to use information from the hint
$$\frac{3}{e^3} \approx 0.15$$
The Lambert W function defines $W(z)$ to be the value $w$ that satisfies $we^w=z$.
Your equation can be written as $(x-3)e^{x-3} = -3/e^3$ so $x=W(-3/e^3) + 3$. Do you have some way of numerically approximating the Lambert W function?