Continuum Mechanics in One Dimension