Skip to content

The original code has the incorrect formula... thus giving the incorr… - #1

Open
bwoodhoutson wants to merge 1 commit into
HydAu:masterfrom
bwoodhoutson:patch-1
Open

The original code has the incorrect formula... thus giving the incorr…#1
bwoodhoutson wants to merge 1 commit into
HydAu:masterfrom
bwoodhoutson:patch-1

Conversation

@bwoodhoutson

Copy link
Copy Markdown

…ect monthly payment.

The original slide from their video has the wrong formula...

The formula should be:

monthlyPayment = P *( I * (1+ I)**N / ((1 + I)**N -1))

(test P = 100,000 // I = 6% // loanDurationInYears = 15years) == should give monthly payment of 843.86

Their original code gave a monthly payment of $5,000 to 6,000...

…ect monthly payment.

The original slide from their video has the wrong formula...

The formula should be:

monthlyPayment = P *( I * (1+ I)**N / ((1 + I)**N -1))


(test P = 100,000 // I = 6% // loanDurationInYears = 15years) == should give monthly payment of 843.86

Their original code gave a monthly payment of $5,000 to 6,000...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant