Understanding the mathematics of hearing using electronic circuits