Compound Interest Calculator

Calculate the total amount and interest earned for an initial principal amount, considering the annual interest rate, time period, and how frequently the interest is compounded.