Finds the resonant frequency of objects. Inspired by the XKCD comic.