An Electrostatic Method of Measuring Elastic Constants