| 1 | initial version |
Hmmm... smells like homework. So you wont' probably get a straight answer (many ask.sagemath.org are scholars/teachers, and take a dim view of what might be considered cheating...).
You might find inspiration on the web.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.