Financial: Savings plan calculation - Printable Version +- HP Forums (http://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Financial: Savings plan calculation (/thread-10747.html) Financial: Savings plan calculation - cds - 05-16-2018 09:11 AM Dear all, I struggle on an approach to solve the following financial calulation: Given is a saveings plan with a fixed time t[yr], interest rate, static monthly investment and - here comes my issue - an annual bonus which depends on the annual invested money (and so is constant during the whole contract). I'm now looking on a solution how to calculate the needed interestrate to achive the desired final capital at the end of the contract. Without this "annual bonus" it is a no-brainer, but with I'm kind of stuck. Any hints for me? Regards Carsten. RE: Financial: Savings plan calculation - cortopar - 05-16-2018 08:02 PM Pseudo Pascal-ish code for the brute force method... Code: ``` EXPORT FindInterest(years,monthly,bonus,goal); LOCAL interest:=0.001; LOCAL increment:=0.002; LOCAL i:=0; LOCAL month:=0; LOCAL balance:=0; WHILE balance