User Tools

Site Tools


psets:pset1

This is an old revision of the document!


Problem Set 01: Python Warmup

The objective of the first pset is to familiarize with Python and the Jupyter notebook that we'll be using in this course.

You'll complete three exercises in a Jupyter notebook:

  1. Implement a simple function
  2. A brute-force approach to the Knapsack Problem
  3. Approximate pi using Monte Carlo sampling

Obtain the pset

Make sure the VM is up to date as indicated in Updating the 16.410 VM.

The folder pset1-python-warmup will appear in the ~/jupyter/psets folder.

Open the Jupyter notebook with the desktop shortcut. Then navigate to psets > pset1-python-warmup > ProblemSet01_PythonWarmup.ipynb

Complete the notebook with your answers. You may want to look at Jupyter/IPython documentation for more information about the Jupyter notebook.

psets/pset1.1441779375.txt.gz · Last modified: 2015/09/09 02:16 by efernan