Is it possible for someone to make this algorithm easy to understand to enter into a calculation for my application.

Thanks
To explain:

Is it possible for someone to make this algorithm easy to understand to enter into a calculation for my application.

Thanks
To explain:

Yes that algorithm most certainly can be expressed in a programming language, however I will not provide an implementation, but some pseudocode to get you started.
So the first thing we see is x is dealing with money so lets represent that as a double
double monthlyPayment //this is X
next we see that P sub 0 is the total loan amount so lets also represent that as a double
double loanAmount // this is P sub 0
next we see that i is the interest rate so this will also be a double
double interestRate // this is i
next we see that n is the number of months that remain on the loan this is an integer
int monthsRemaining // this is n
so looking at the formula you proposed we take the following:
monthlyPayment = (loanAmount * interestRate) / 1 - (1 + interestRate) ^ (-1 * monthsRemaining)
Now without actually implementing this I do believe you can take it from here.
This is how you could represent it using Javascript:
function repayment(amount, months, interest) {
return (amount * interest) / (1 - Math.pow(1 + interest, -months));
}
Are you looking for an explanation of the equation? It deals with loans. When you take out loans, you take out a certain amount of money (P) for a certain number of months (n). In addition, to make the loan worth while to the loaner, you are charged an interest rate (i). That's a percentage that you are charged every month on the remaining loan amount.
So, you need to calculate how much you have to pay each month (x) in order to have the loan paided off in the set amount of time (n months). It's not as simple as just dividing the loan amount (P) by the number of months (n) because you also have to pay interest.
So, the equation is giving you the amount of money you have to pay each month in order to pay off the original loan plus any interest.
If you're using Java:
public double calculateMonthlyPayment(double originalLoan, double interestRate, double monthsToRepay) {
return (originalLoan*interestRate)/(1-(Math.pow((1+interestRate), -monthsToRepay)));
}