Finally submitted correct answer for power law question.