Fundamentals of electricity and magnetsm