Calculation of the critical delay for the double inverted pendulum. (February 2021)