In the comments of that article, two people pointed out two different scenarios where that formula fails to yield the correct result.