The assumption of uniform density may apply more or less to a molten planet or a rocky planet, but does not apply to a star or to a planet like the earth which has a dense metallic core. In 1737 Alexis Clairaut studied the case of density varying with depth. Clairaut's theorem states that the variation of the gravity (including centrifugal force) is proportional to the square of the sine of the latitude, with the proportionality depending linearly on the flattening ( f ) and the ratio at the equator of centrifugal force to gravitational attraction. (Compare with the exact relation above for the case of uniform density.) Clairaut's theorem is a special case, for an oblate spheroid, of a connexion found later by Pierre-Simon Laplace between the shape and the variation of gravity.