TIDAL DISSIPATION IN A HOMOGENEOUS SPHERICAL BODY. I. METHODS