A tree planted today has a height of 5 feet and grows one foot each month.

Is the height of the tree a function of the number of months? If so, is it a linear or a nonlinear function?

Yes, the height of the tree is a function of the number of months. It is a nonlinear function because the growth of the tree is not constant over time.