Solving the PN Junction potential in equilibrium using MATLAB.