It seems that most math equations that come from the real world usually come with dimensions, even though those dimensions are generally ignored. I'm speaking of general dimensions, which include not only time and space but also temperature, mass, volume, or anything else that can be measured. Given this, I've always wondered where polynomials come from, since they seem to violate dimensionality. For example if you are talking lengths you might have: $$ax^2L^2+bxL+c=0$$ where $L$ stands for a length dimension applied to the factor immediately proceeding. This equation implies adding an $L^2$ to an $L$ and that to a unitless quantity, which is invalid. Now you could obviously fix it by adding appropriate dimensions to the constants; for example: $$aL^{-1} x^2L^2+bxL+cL=0L$$ But I can't think of any real-world application that would produce this kind of equation. Of course geometry naturally gives rise to squares and cubes, but they are isolated squares or cubes; squares aren't added to linear values and cubes aren't added to squares.
So my question is, where do polynomials come from? Are there features of the physical world that give rise to them?
The ur-example of a polynomial model for something, as mentioned in another answer, is motion under constant acceleration. The reason this comes about is from Newton's first law of motion, which says that an object's acceleration is proportional to the force acting on it. Since acceleration is the second derivative of displacement with respect to time, that means that the equation that governs motion is:
$$\ddot{x} = \frac{F}{m}$$
where $F$ might be a function of other factors, but in the simplest case can be treated as a constant (and it helps that if you're close to the Earth's surface it's usually a reasonable approximation for the acceleration due to gravity).
When you do the integration, all of the constants of integration will naturally pick up the appropriate dimensions so that everything is consistent - an operation of $\frac{d}{dt}$ carries a dimension of $T^{-1}$, and an operation of $\int dt$ carries a dimension of $T$, so everything proceeds smoothly between the equations for position, velocity and acceleration.
Where things do wind up looking weird dimension-wise, you'll usually find that there are constants with built-in dimensions that cancel things out. For example, if you have harmonic motion like $x(t) = A \cos (\omega t + \phi)$, the dimension of $A$ will be $L$, the dimension of $\omega$ will be $T^{-1}$, and $\phi$ will be dimensionless, so that you're never taking the cosine of 5 seconds, for example.