Named after its inventor, a Shockley diode is a PNPN device having two terminals as shown in Fig. (i). This device…