Text this: Mathematical model for photovoltaic cells