Current Through a Diode. The current flowing through the semiconductor diode
shown in Figure \(4.4\) is given by the equation
$$
i_{\theta}=l_{e}\left(e^{\frac{w_{3}}{1 T}}-1\right)
$$
where
$$
\begin{aligned}
&i_{D}=\text { the voltage across the diode, in volts } \\
&v_{n}=\text { the current flow through the diode, in amps } \\
&I_{e}=\text { the leakage current of the diode, in amps } \\
&q=\text { the charge on an electron, } 1.602 \times 10^{-19} \text { coulombs
} \\
&k=\text { Boltzmann's constant, } 1.38 \times 10^{-23} \text { joule/K } \\
&T=\text { temperature, in kelvins }(\mathrm{K})
\end{aligned}
$$
The leakage current \(I_{o}\) of the diode is \(2.0 \mu \mathrm{A}\). Write a
program to calculate the current flowing through this diode for all voltages
from \(-1.0 \mathrm{~V}\) to \(+0.6 \mathrm{~V}\), in \(0.1 \mathrm{~V}\) steps.
Repeat this process for the following temperatures: \(75^{\circ} \mathrm{F},
100^{\circ} \mathrm{F}\), and \(125^{\circ} \mathrm{F}\), Create a plot of the
current as a function of applied voltage, with the curves for the three
different temperatures appearing as different colors.