Electronics - Lecture 1: The p-n junction, ideal diodes, circuit analysis with diodes