Compute the midpoint price elasticity of demand and classify the good as elastic, inelastic, or unit-elastic.
用中點法計算需求對價格的彈性,避免端點依賴。