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

Thanks
To explain:

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
xis dealing with money so lets represent that as a doublenext we see that
P sub 0is the total loan amount so lets also represent that as a doublenext we see that
iis the interest rate so this will also be a doublenext we see that
nis the number of months that remain on the loan this is an integerso looking at the formula you proposed we take the following:
Now without actually implementing this I do believe you can take it from here.