P-n diodes are two-terminal devices that consist of two types of semiconductor materials (i.e., a p-type and an n-type ...