Skip to content

A mathematical and programming approach to answer the question: How much should you pay to payoff your credit card in n months?

Notifications You must be signed in to change notification settings

lheredias/credit-card-payoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Card Payoff: Mathematical and Programming approach

meh

Credit cards may set a minimum monthly payment - or floor - but paying the minimum each month does not guarantee that you are going to go debt free anytime soon, so how much should you pay in a monthly basis in order to payoff your credit card after $n$ months?

Here, we provide two methods to answer this question:

Approach Method
Mathematical Geometric series
Programming Bisection search

This exercise is a neat example of approaching a problem from different, although related, disciplines.

Requirements

Matplotlib is required to replicate the plot shown on the jupiter notebook. You may install it through python -m pip install matplotlib or by running python -m pip install -r requirements.txt.

This exercise was inspired by one of the assingments from MITx's Introduction to Computer Science and Programming Using Python.

About

A mathematical and programming approach to answer the question: How much should you pay to payoff your credit card in n months?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published