formula

instalment payment = PV x i x (1 + i)n / (1 + i)n - 1

n is power

where i = interest rate per payment period

n = number of payments

PV = principal amount of the loan

i tried a lot, but could'nt get it

can u pls me the vb.net code for the above mentioned formula



Answer this question

formula

  • susqu

    Math.Pow is probably the missing link.

    PV * i * Math.Pow(1+i, n) / (Math.Pow(1+i, n) - 1)

    The other thing to remember is that order of operation is not left to right, you need to elevate addition and subtraction above multiplication and division by putting brackets.



  • formula