SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Politics : Welcome to Slider's Dugout

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Bruce Robbins who wrote (15315)2/12/2009 11:05:26 AM
From: colburg7 Recommendations  Read Replies (1) of 50484
 
I couldn't resist. I took 5 minutes out of my work to figure
this out. I wrote a quick program in MatLAB to get these
results using a continuously compounding interest formula.

clear; close all; clc;
L=3000000000000

spy=365.25*24*3600 %Seconds in a year(the .25 is for leap year)
(L/3)/spy %This confirms your calculation of how long
%it would take to pay off 1 trillion at a rate of
%$1/second
%You were correct when including leap year.
%31,688 years is the answer


% This loop calculates the interest the exact same way that monthly
% mortgage payments are calculated for interest rates of 1% up to 10%
% in increments of 1%. I then converted it into dollars per second
% and figured the total amount spent.
for x=1:10
annualinterestrate=x/100
in=(annualinterestrate)/12;
P=L*in/(1-exp(-n*log(1+in)))
dollarspersecond=P*12/spy
Total=P*12*100
end

Drum roll please:

interest rate dollars per second Total spent(100 yrs)
1% $1,504 $4.7 trillion
2% $2,199 $6.9 trillion
3% $3,002 $9.5 trillion
4% $3,874 $12.2 trillion
5% $4,786 $15.1 trillion
6% $5,718 $18 trillion
7% $6,661 $21 trillion
8% $7,608 $24 trillion
9% $8,557 $27 trillion
10% $9,507 $30 trillion
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext