Complete question: Efficient Power Function