Which of the following energy transformations occur when a lamp that is plugged into a wall socket is functioning correctly?