Solve the compound interest problem. Principal is invested at [annual interest rate written in decimal form] compounded [number of times compounded per year] for [length of time in years].
a. Find the overall amount.
b. Find the compound interest.