The rotating, charged or gravitating liquid drop, and problems in nuclear physics and astronomy