I was reading material on light speed and have a question about something I thought may contradict newtons law of conservation of energy. Light slows down as it passes through water, glass etc.. right? But when it reaches the other side it continues at light speed. Where is it getting its energy/power supply to continue back at its normal speed? Whats happening here?