The frequency of vertical oscillations of the three spring-mass system