Ultrasonic waves are sound waves above 20,000 Hz that can be generated using a magnetostriction oscillator. The oscillator works by applying an alternating magnetic field to a ferromagnetic rod, causing it to vibrate longitudinally above 20,000 Hz. This produces ultrasonic waves that are emitted from the ends of the rod. The rod is clamped between coils connected to an oscillator circuit containing a transistor, capacitor and coils. Feedback between the coils drives oscillations in the rod at the resonant frequency set by the capacitor, generating high frequency ultrasonic sound waves.