oscillations of a 1d plate with optimizer