Well, it seems chocolate is good for math performance. And so are wine and tea. Not to mention coffee (that keeps you awake late at night while you finish your homework). And why leave it at that? Sugar is good for the brain (it requires a lot of calories to run a brain properly).
For other fun aspects of human performance, you might want to read this post on information in your body (particularly counting number of megabytes of information you can store).