Compute the midpoint price elasticity of demand and classify the good as elastic, inelastic, or unit-elastic.
用中点法计算需求对价格的弹性,避免端点依赖。