This document presents a mathematical model and MATLAB simulation of a solar photovoltaic cell and array. It describes the equivalent circuit of a solar cell and defines equations for photocurrent, saturation current, and output current of an ideal cell. A Simulink model of a single cell is used to generate I-V and P-V curves showing maximum power point. The document also discusses modeling a solar array by connecting modules in series and parallel. Simulation results show output characteristics at different irradiances and temperatures.