This document describes a numerical simulation of a photovoltaic (PV) cell using the Newton-Raphson method. It discusses using a two-diode model to describe the electrical behavior of a solar cell and adapting this model to include breakdown behavior at high negative voltages. It then presents the equivalent circuit of a PV cell and describes simulating the cell's behavior by setting a function f(V,I) equal to zero and iteratively solving for the current I using the Newton-Raphson method until the change in successive iteration values is less than a small value E.