Find by using the formula and then by using the method of logarithmic differentiation when .

You can earn partial credit on this problem.