SscorpiusS
Programmer
Hello, guys!
I am struggling with some math formulas for a Visual FoxPro program i want to build. This is about a housing contract, made between the city hall local council and an individual.
What i want to do is calculate the credit interest rate, having a determined period of time (say 10-20 years).
Here's the formula i was thinking of, but it doesn't calculate correctly:
(c*d)/((p*(1-(1+d/p))))^(-n*p)
c=credit
d=interest rate
n=number of years
p=period(12 months)
Has anyone had a similar problem?
Thanks in advance!
PS: I'm not sure i'm on the right topic. If so, please redirect me towards an appropriate one.
I am struggling with some math formulas for a Visual FoxPro program i want to build. This is about a housing contract, made between the city hall local council and an individual.
What i want to do is calculate the credit interest rate, having a determined period of time (say 10-20 years).
Here's the formula i was thinking of, but it doesn't calculate correctly:
(c*d)/((p*(1-(1+d/p))))^(-n*p)
c=credit
d=interest rate
n=number of years
p=period(12 months)
Has anyone had a similar problem?
Thanks in advance!
PS: I'm not sure i'm on the right topic. If so, please redirect me towards an appropriate one.