Calculate maturity amount and interest earned on Fixed Deposits (FD) with different compounding frequencies.