Perpetuities and Annuities - Corporate Finance - Ivo Welch

Perpetuities and Annuities - Corporate Finance - Ivo Welch Perpetuities and Annuities - Corporate Finance - Ivo Welch

book.ivo.welch.info
from book.ivo.welch.info More from this publisher
02.04.2013 Views

Write out what the perpetuity formula, ∑ ∞ t=1 C (1+r) t means! 6/1

...in another language ◮ If you know how to program, the summation ∑ 100 i=1 f (i) is the same as sum ⇐ 0.0 for i from 1 to 100 do begin ◮ sum ⇐ sum + f (i) end return sum Again, note that i is not an input variable—instead, it is a device to indicate that we have 100 terms which we want to sum up. That is, when you write out the formula, there is no i in it! ◮ IMHO, programming teaches logical thinking. In many jobs, you need to know how to do basic programming, too. Thus, I can recommend taking an introductory programming course to any student. 7/1

...in another language<br />

◮ If you know how to program, the summation ∑ 100<br />

i=1 f (i) is the<br />

same as<br />

sum ⇐ 0.0<br />

for i from 1 to 100 do<br />

begin<br />

◮<br />

sum ⇐ sum + f (i)<br />

end<br />

return sum<br />

Again, note that i is not an input variable—instead, it is a device<br />

to indicate that we have 100 terms which we want to sum up.<br />

That is, when you write out the formula, there is no i in it!<br />

◮ IMHO, programming teaches logical thinking. In many jobs, you need to<br />

know how to do basic programming, too. Thus, I can recommend taking<br />

an introductory programming course to any student.<br />

7/1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!