Derivation of the amplitude equation at the Rayleigh–Bènard instability