How about this:
$y(x) = (x^3-2x^2+x)m_0+(-2x^3+3x^2)+(x^3-x^2)m_1$
where $m_0$ and $m_1$ are two positive constants.
Bigger $m_0$ and $m_1$ will result in more wavy curve. Here are two examples:
Example 1: $m_0=m_1=3$
![enter image description here](
Example 2: $m_0=m_1=4$
![enter image description here](