Introduction to Electricity and Optics