Calculator V2
I made some changes to my compound interest calculator after reading up on “future value”. My calculator will allow users to specify regular deposits. This is so that they can see for themselves the importance of every dollar added to their savings.
import nerdamer from 'nerdamer/nerdamer.core'; import Algebra from 'nerdamer/Algebra'; import Calculus from 'nerdamer/Calculus'; import Solve from 'nerdamer/Solve'; const totalMonthsPerYear = 12; export const calcCompoundInterest = ({ principal, depositAmountPerMonth = 0, interestRatePerAnnum, compoundRatePerMonth = 1, totalMonths, }) => { const totalAmount = solveForOneUnknownVariable( 'a=(p*(1+(r/n))^(n*t))+(q*(((1+(r/n))^(n*t)-1)/(r/n)))', { p: principal.
Continue reading "Calculator V2"