?
Solved

Compount Interest VB.Net

Posted on 2014-03-11
3
Medium Priority
?
267 Views
Last Modified: 2014-03-11
Hi

I recently had help with some vb in working out APR. The code is correct however I've just realised that it is slightly inaccurate as it needs to consider ' Compound Interest'


I was working out APR with this


 
       Dim LoanPmt As Double = Math.Round(Pmt(0.119 / 12, 300, -17044), 2)
        Dim APR As Double = Rate(300, -LoanPmt, 15000)

        Label1.Text = ((APR * 12) * 100)

Open in new window



What I've been told by the lender is that I now need to consider compound interest.

To do this I need to include this(below) into my formula. Can someone help me do this.  Thanks

= (1+Rate) ^12-1 

Open in new window

0
Comment
Question by:Ed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:Ed
ID: 39920630
Apparently I'm not considering the compound interest. What I'm doing wrong is multiplying the rate by 12.. I need  to change the formula to: = (1+Rate) ^12-1
0
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 39920952
I always thought the CI formula was this (https://qrc.depaul.edu/StudyGuide2009/Notes/Savings%20Accounts/Compound%20Interest.htm):

A = P(1 + (r/n))^nt

...where:

P = principal amount (the initial amount you borrow or deposit)
r  = annual rate of interest (as a decimal)
t  = number of years the amount is deposited or borrowed for.
A = amount of money accumulated after n years, including interest.
n  =  number of times the interest is compounded per year

How did you come up with your formula?
0
 

Author Closing Comment

by:Ed
ID: 39921017
Answered my question, thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question