Programming your calculator24CMPNDINTPurposeTo explore various compound interest situations involving a Principal, an Amount, aninterest rate, a number of years of investment and a number of compounding periodsper year. If all except one of these variables is known, the other one is calculated.OperationEnter the variable values when requested, pressing after each.Enter a negative value, such as -1, for the one value you wish to calculate.RATE P.A. refers to the annual interest rate. Enter it either as a decimal or as apercentage. (E.g., 5.4% per annum can be entered either as 5.4 or as 0.054.)The variable # PERIODS refers to the total number of compounding periods. Forexample, if the principal is invested for 25 years with interest compounded monthly,then enter 300, as there are 12 x 25 = 300 compounding periods. (If you wish, you canenter 12 x 25, and let the calculator do the multiplication.)The variable TIMES/YEAR refers to the number of compounding periods per year. Forexample, if interest is added monthly, the value is 12, while for quarterly interest, thevalue is 4.Test the program by checking that $2800 will accumulate to $3871.89 if it is depositedinto an account in which interest of 6.5% is compounded monthly for five years.