21-110: Source files for Homework 5 solutions

The solutions to Homework 5 are available in PDF form (homework-5-sol.pdf). This will be the most useful format for most people. Unless you are one of the few people that are interested in the source files, you don’t need anything else.

The main TeX source file is homework-5-sol.tex. Please note that this is written in plain TeX, not in the more commonly used dialect called LaTeX, so it should be compiled with tex homework-5-sol.tex (or pdftex homework-5-sol.tex for PDF output). You will need to have the MetaPost drawings already compiled.

The main MetaPost source file, containing the source for all nine drawings, is homework-5-sol.mp. You will also need to have venn/venn.mp, which is a package that is used to draw the Venn diagrams; see venn/README for the documentation. If you have MetaPost (it’s commonly bundled with a TeX distribution), you can compile this by typing mpost homework-5-sol.mp at a command line.

If you don’t have MetaPost, or you simply don’t see a need to compile the MetaPost drawings yourself, you can download the compiled drawings listed below.


Back to the 21-110 page

Last updated 12 April 2010. Brian Kell <bkell@cmu.edu>