A company wants to invest Rs 50,000 for 2 years in a Fixed Deposit Scheme that offers an interest rate of 7% per annum compounded annually. Name the financial function used to calculate the future value of the investment. Write the syntax of the function and apply the formula to the data given, considering that :
(i) instalment is paid in the beginning of each period, and
(ii) instalment is paid at the end of each period.