Determination of Young’s modulus by studying the flexural vibrations of a bar: experimental and theoretical approaches