Worked example of comparative advantage with opportunity cost calculations, practice problems, and answer key.