An analytical model for evaporative cooling of atoms