A mathematical model for energy generation in the cells of the leafs of a plant was designed. These modeled equations were solved assuming that the sunlight intensity is not constant. Our present result when compared with that of Mbah and Ezeorah  showed that this result as presented is more realistic. It is also shown that variation of the constant terms affect the level of carbohydrate produced. The effect of the sunlight intensity is shown where excessively high sunlight is shown to produce less carbohydrate which we interpreted to mean the deactivation of the enzymatic actions by this high level of sunlight intensity. Particularly, we showed the effect of the term b2
which is likened to the case of diabetes in man.