def monthly_payment(balance, monthlyPaymentRate):
    """
    :param balance: outstanding balance on the credit card, float
    :param monthlyPaymentRate: annual interest rate as a decimal, float
    :return: amount that is paid monthly, float
    """
    return balance * monthlyPaymentRate