Statistics for Photocatalytic degradation of dyes and pesticides in the presence of ions