Suppose we build a robot to keep it away from danger. It is powered entirely by the sun. Should we program the robot to be equally active at all times? No. The robot would be using up energy at a time when it is not receiving any. So we would probably program it to stop its activity at night and to wake up the next morning.