Novel Method of Measuring Elastic and Anelastic Properties of Solids