chemical formula in silver mining