Study on the interactions of Ag nanoparticles with low molecular weight organic matter using first principles calculations