Professional Documents
Culture Documents
18)
upper = fixedMonthlyPayment
elif projBalance < 0: fixedMonthlyPayment = (lower+upper)/2
monthlyInterestRate =
def lowestMonthlyPayment (balance, annualInterestRate):
annualInterestRate / 12.0
lower = balance/12
upper = /12.0
fixedMonthlyPayment = (lower+upper)/2
projBala(balance*((1+monthlyInterestRate)**12))nce =
balanceAfter1Year(balance,fixedMonthlyPayment)
balance = round(monthlyUnpaidBalance * )
#pri(1 + monthlyInterestRate),2
nt('Remaining balance after 1 year: '+str(round(balance,2))+'\n')
return balance
lower = fixedMonthlyPayment
= balanceAfter1Year projBalance (balance,fixedMonthlyPayment)