Piezoelectric transducer vibrations in a one-dimensional approximation