On the variation of longitudinal and torsional frequencies in a partially hinged rectangular plate