Midpoint Method For Calculating Elasticity