With $k$ proportional to the square root of the compression force, an axially loaded (and otherwise unloaded) beam has a deflection following the DE
$$ \frac{\partial^4}{\partial x^4}z + k^2\frac{\partial^2}{\partial x^2}z = 0 $$
With solutions on the form
$$ z(x) = C_1 + C_2 k x + C_3 \sin(kx) + C_4\cos(kx) $$
Now, consider the following boundary conditions
$z(0) = 0, \left[\frac{\partial z}{\partial x}\right](0) = 0, z(L) = h, \left[\frac{\partial z}{\partial x}\right](L) = 0$
That is, the derivative is clamped to zero at both ends, and the function values are $0$ and $h$ respectively. Solving the corresponding system of equations for $C_1$, $C_2$, $C_3$, and $C_4$ gives $C_1 = - C_4$, and $C_2 = -C_3$, where
$$ C_1 = h\frac{\cos(kL) - 1}{\xi}\\ C_2 = h\frac{\sin(kL)}{\xi} $$
and
$$ \xi = kL \sin(kL)+2\cos(kL)-2 $$
If $kL = 2\pi n, n\in\mathbb{Z}$, $\xi$ becomes zero, and $C_1$ goes to infinity. Is this some kind of resonance, that occurs for certain wave numbers or compression forces?