def compounded_interest_fv(P, r, t, m):
    """ Compunded interest rate assumes that the interest earned will now be added to the principal periodically,
       for example, annually, semi-annually, quarterly, monthly or on a daily basis.
    Parameters
    ----------
    P: float
        Principal, initial deposit.
    r: float
        Interest rate
    t: float
        Time, expressed in years.
    m: float
        Compounding period. Amount of payments made per annum.

    """
    return P*(1 + r/m)**(t*m)