The article by Steve Peterson, linked from http://www.cs.berkeley.edu/~qtluong/photography/lf/fstop.html derives the relationship. This is also available in Bob Wheeler's notes.