I’m glad this comic is number 42, because it’s one of my favorite ones. This was indeed thought up during physics class.
Here is the wikipedia article on magnetic moments. I is the typical symbol used to represent current.
And here is a link to the song “This Magic Moment“. I miss listening to oldie stations, there aren’t any good ones up here.