RavenBlog
Black:  ravenblack.net | me | games | books | email | wishlist | rss
Blogs:  Angryblog | As Above | MonkyBlog | Nightshade | Journals
Blimey:  SomethingAwful | Advice
Archives: Last 4 Days | June2001 | July2001 | August2001 | September2001 | October2001 | November2001 | December2001 | January2002 | February2002 | March2002 | April2002 | May2002 | June2002 | July2002 | August2002 | September2002 | October2002 | November2002 | December2002 | January2003 | February2003 | March2003 | April2003 | May2003 | June2003 | July2003 | August2003 | September2003 | October2003 | November2003 | December2003 | January2004 | February2004 | March2004 | April2004 | May2004 | June2004 | July2004 | August2004 | September2004 | October2004 | November2004 | December2004 | January2005 | February2005 | March2005 | April2005 | May2005 | June2005 | July2005 | August2005 | September2005 | October2005 | November2005 | January2006 | February2006 | March2006 | April2006 | May2006 | June2006 | July2006 | August2006 | September2006 | October2006 | November2006 | December2006 | January2007 | February2007 | March2007 | April2007 | May2007 | June2007 | July2007 | August2007 | September2007 | October2007 | November2007 | December2007 | January2008 | February2008 | March2008 | April2008 | May2008 | June2008 | July2008 | August2008 | September2008 | October2008 | November2008 | December2008 | January2009 | March2009 | April2009 | May2009 | July2009 | August2009 | September2009 | February2010 | March2010 | June2010 | July2010 | August2010 | September2010 | October2010 | November2010 | December2010 | February2011 | March2011 | April2011 | May2011 | June2011 | July2011 | August2011 | September2011 | October2011 | December2011 | March2012 | April2012 | May2012 | September2012 | December2012 | March2013 | April2013 | May2013 | June2013 | October2021


Comments on Friday 15 March 2002:
My mathematical skills are a little rusty. Does this formula collapse down to something short, perhaps involving exponentials?
((a*m-p)*m-p)... (with the *m-p operation repeated n times)
Or the same formula, expressed a different way:
a*mn-p*m(n-1)-p*m(n-2)-...-p*m(n-n)
(It's the mortgage formula - a is the loan size, p is the monthly payment, m is the monthly interest rate (in a form such that 1.007 would represent 0.7%) and n is the number of months the loan is for - the formula given equals zero. [02:09]

zx64
This is a geometric progression. The three main equations for GPs are for finding the nth term, summing from zero to n terms and summing from zero to infinity (only works if the ratio being exponentiated is less than one).

nth term = a*r^(n-1)
(montly payment)

sum from zeroeth to nth term = (a((r^n) - 1))/(r-1)
(current total paid)

sum from zeroeth to inf. = a/(1-r)
(probably not much use for mortgages)

Hope this helps.

Stefano
Which is to say, the formula with your data should be

a*m^n - p*(m^n-1)/(m-1)

(Hope zx64 agrees)

Pig
Just in case you wanted to improve your math skills, here's the proof for the formula:

((sum from k=1 to k=n)(p*(1/m)^k))should equal a. This is because we backtracked all the p to their present value.

Multiply both sides by 1/m and you get ((sum from k=1 to k=n)(p*(1/m)^(k+1))=((sum from k=0 to k=n-1)(p*(1/m)^k))=a*(1/m)

Now subtract the original sum from this one and get:
((sum from k=0 to k=n-1)(p*(1/m)^k))-((sum from k=1 to k=n)(p*(1/m)^k))=a*(1/m)-a

As you can see, most of the terms will cancel each other out. This leaves us with only the k=0 term minus the k=n term:
p*(1-(1/m)^n)=a*((1/m)-1)

I hope that this is right (just got it off the top of my head) and that it helps.
Add Comment:
Name:Comment: (max. 2048 characters)
Email:
Show Email: (if no website)
Website:
No HTML tags allowed.
(Antispam) What is 66 + 6?
Archives: Last 4 Days | June2001 | July2001 | August2001 | September2001 | October2001 | November2001 | December2001 | January2002 | February2002 | March2002 | April2002 | May2002 | June2002 | July2002 | August2002 | September2002 | October2002 | November2002 | December2002 | January2003 | February2003 | March2003 | April2003 | May2003 | June2003 | July2003 | August2003 | September2003 | October2003 | November2003 | December2003 | January2004 | February2004 | March2004 | April2004 | May2004 | June2004 | July2004 | August2004 | September2004 | October2004 | November2004 | December2004 | January2005 | February2005 | March2005 | April2005 | May2005 | June2005 | July2005 | August2005 | September2005 | October2005 | November2005 | January2006 | February2006 | March2006 | April2006 | May2006 | June2006 | July2006 | August2006 | September2006 | October2006 | November2006 | December2006 | January2007 | February2007 | March2007 | April2007 | May2007 | June2007 | July2007 | August2007 | September2007 | October2007 | November2007 | December2007 | January2008 | February2008 | March2008 | April2008 | May2008 | June2008 | July2008 | August2008 | September2008 | October2008 | November2008 | December2008 | January2009 | March2009 | April2009 | May2009 | July2009 | August2009 | September2009 | February2010 | March2010 | June2010 | July2010 | August2010 | September2010 | October2010 | November2010 | December2010 | February2011 | March2011 | April2011 | May2011 | June2011 | July2011 | August2011 | September2011 | October2011 | December2011 | March2012 | April2012 | May2012 | September2012 | December2012 | March2013 | April2013 | May2013 | June2013 | October2021