A U-shaped metal or glass tube is electromagnetically
forced into harmonic oscillation. The period of
oscillation is dependent on the density of the sample
in the tube. Therefore, by measuring the period of
oscillation, the density or density-related values can
be calculated to a high level of accuracy.