A numerical experiment on the determination of kinetic rate constants in the presence of diffusion