How To Calculate The Elastic Constant