Formulate an answer to this elaborate question: Where did William Ernest Hocking pass away in and had a population of 2,502?
A:
Madison, New Hampshire