What are the conditions of revenue function $R$ to be maximum?
What is the formula for elasticity of demand?