You take an atom, rip an electron off of it, and launch it past a magnet. The amount it curves as it passes the magnet depends on its speed, the number of electrons ripped off, the strength of the magnet, and the mass of the atom. By fixing everything else, the mass of the atom can be calculated based on the curvature.
Latest Answers