A quantitative determination of the amount of a given substance in a particular sample. Assays are regularly used to determine the purity of precious metals. They can be performed by wet methods or dry methods. In the wet method, the sample is dissolved in a reagent, like an acid, until the purified metal is separated out. In the dry method, the sample is mixed with a flux (a substance such as borax or silica that helps lower the melting temperature) and then heated to the point where impurities in the metal fuse with the flux, leaving the purified metal as a residue.