Advertisement
UME14

Problem2_PSet2

Jan 19th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #Problem2_PSet2
  2.  
  3. #pre-produced
  4. balance = 484
  5. annualInterestRate = 0.2
  6. # NOTE: NO 'monthly payment rate'
  7. saved_balance = balance
  8.  
  9. #-------------------------Call Function
  10. #Minimum fixed monthly payment
  11. monthlyInterestRate = (annualInterestRate) / 12.0
  12. monthlyUnpaidBalance = (Previous_balance) #- (Minimum_FixedMonthlyPayment)
  13. updatedBalanceEachMonth = (monthlyUnpaidBalance) + (monthlyInterestRate * monthlyUnpaidBalance)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement