A tree of height y meters has approximately B branches, where B = y − 2. Each branch has approximately n leaves where n = 9B2 − B. Find the approximate number of leaves of a tree as a function of height.

Approximate number of leaves of a tree