Joseph Proust discovered in the 18th century that the masses of elements in a chemical compound are in a definite ratio. For example, in copper carbonate the mass of copper is always 5.3 times the mass of carbon and the mass of oxygen is always 4 times the mass of carbon. John Dalton later expanded on this with his atomic theory in the 19th century, proposing that compounds are formed by the combination of atoms in specific definite ratios. Isaac Newton also discovered that the force of gravitational attraction between objects is directly proportional to the product of their masses and inversely proportional to the square of the distance between them.