The 2N2222 is one of the most popular NPN bipolar junction transistors (BJTs) in electronics prototyping. It is widely used…