pn junction

basic function for pn junction
constants:e me mi epsilon0 kappa


Parameters

Intrinsic concentration
`n_i` \(cm^{-3}\)
P doping concentrations
`N_A` \(cm^{-3}\)
N doping concentrations
`N_D` \(cm^{-3}\)
Temperature
T \(K\)

Output

Thermal potential  `V_T`

`V_T={kT}/e`