A tuning fork A of frequency 512Hz produces 5 beats per second when sounded with another tuning fork B of unknown frequency. If B is located with wax the number of beats is again 5 per second. The frequency of the tuning fork B before it was loaded is