Question: Are there periodic functions satisfying a quadratic differential equation, as opposed to just linear or cubic?
Bonus question: Are there periodic functions satisfying differential equations which are polynomials of any degree $n$?
Background: I know that on the real line, any periodic function can be decomposed into a (possibly infinite) sum of sines and cosines via Fourier series, and that this technique is somewhat extensible to the complex plane (I think).
Likewise, cosine and sine can be defined as the solutions to a linear systems of ordinary differential equation (at least on the real line, I am not sure about the complex plane), see e.g here.
A natural generalization/extension of the cosine and sine would be to either consider (1) functions defining the trigonometry of more general conic sections than the circle or (2) functions which have more "advanced" periodicity properties, like double periodicity.
Functions which seem to satisfy both of these criteria would be the elliptic functions, because they are (1) the inverses of elliptic integrals, and (2) doubly periodic.
However, what is surprising to me is that the (complex) differential equation which they satisfy is cubic in the function and its first derivative, rather than quadratic. This seems to suggest a substantial jump in complexity from the trigonometric functions.
This question is motivated by Algebraic Geometry: A Problem Solving Approach, which mentions the elliptic functions in the context of cubic curves, but does not mention any special functions related to conic sections -- is this because there aren't any, or are they just somehow less important?
Attempt: Maybe the hyperbolic tangent function? I don't think that it's periodic, but it is related to the exponential, which is periodic. Also it seems to satisfy a quadratic differential equation.
Note: I tagged this (complex-analysis) because it seems to be about complex differential equations.