Evaluate the integral for the cases where and where

Note: For the case where use only in your answer. Also, use an upper-case "C" for the constant of integration.

If

If

You can earn partial credit on this problem.