Important formulas for compound interest 1. Let Principal = P, Rate = R% per annum, Time = n years. 2. When interest is…