Elasticity of a function