They don't.I disagree, the plants do the math and employ mathematical growth functions.
Why would they? Their mechanisms and means produce the patterns we see directly and empirically; any time or resources spent on the abstraction and simplification necessary to create and employ mathematical functions that approximately describe what they just did would be completely wasted.