An iterative method for obtaining a nonlinear solution for the temperature distribution of a rotating spherical body revolving in a circular orbit around a star