This formula is the one proposed by Tom in his How To Design Your Workouts-article. Thanks to Tom for letting me use it!
And if you feel like testing the formula, just feed a weight and choose reps, and see what you could've gotten...
(Just insert the numbers into the weight and reps categories and move the focus away, and the result should appear...)