I wrote this a few years ago. The comments were mostly constructive, although some people missed the point. A few people successfully solved the homework assignment at the end, which made me happy.
Meta question: are people interested in more physics-y posts on this site? I’ve been meaning to write up more articles such as this, and I’d be happy to xpost them here.