def compute_future_value(j,I,p):
    """ Computes Future Value (FV) or an ordinary annuity """
    
    # NOTES:
    # Any ONE of the input arguments can be an array, but the others 
    # must be scalar.
    
    
    # INPUTS:
    # p -> Periodic payment amount
    # I -> Interest, as annual rate. If 9%, enter 0.09.
    # j -> The number of payments
    
    # OUTPUT:
    # FV -> The future value of the annuity
    
    FV = p * (((1+I)**j - 1)/I) * (1+I)
    
    return FV