Nanodynamics: resonance of boron nanowires