Created
September 25, 2019 01:55
-
-
Save chepe263/1314c62ab8ca1c977385370bfc4138f1 to your computer and use it in GitHub Desktop.
Funciones para ingenieria economica
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
function factor_pf(capital,interest, years){ | |
return capital / (Math.pow(1+interest, years)) | |
} | |
function factor_pa(capital,interest, years){ | |
var one_i = Math.pow(1+interest, years); | |
return capital * ( ( one_i - 1 ) / (interest * one_i) ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment