How do you solve this differential equation:

$\displaystyle 1/2(f')^2 + f - 1/3 (f)^3 = C$

I think the answer for f should have a tanh function somewhere in it.

Thanks