Calculation and analysis of price elasticity of demand