Determination of the scattering length for Rb-Cs XΣ ground electronic state using a variational method