Help for calculating diameter or circumference of a tree

On the other hand, computers make everyone happier!