This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.startupEditor": "none", | |
"workbench.colorTheme": "Night Owl (No Italics)", | |
"editor.tabSize": 2, | |
"editor.fontSize": 14, | |
"editor.fontFamily": "'Source Code Pro', monospace", | |
"editor.scrollBeyondLastLine": false, | |
"editor.minimap.enabled": false, | |
"editor.rulers": [ 120 ], | |
"editor.codeActionsOnSave": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compound interest for principal | |
// CIfP = P(1+r/n)^nt | |
// Future value of a series: | |
// PMT * (((1 + r/n)^nt - 1) / (r/n)) * (1+r/n) | |
// Total = [ Compound interest for principal ] + [ Future value of a series ] | |
// Total = [ P(1+r/n)^nt ] + [ PMT * (((1 + r/n)^nt - 1) / (r/n)) ] | |
// CIfP = the future value of the investment/loan, including interest |