Homework is assigned weekly, and due by Friday 5pm in the inbox across the hall from Packard 243. Late homework will not be accepted.

The homework problems can be found here. We will update this document often during the quarter, so be sure to download the newest version before starting your homework.

Some homework problems will require you to code in Julia (more information here). You must submit your code for any problems that require coding. The Julia files needed for homework problems can be found here.

Access to solutions requires SUNetID (Stanford University Network ID). You can find your homework grades on canvas (which otherwise, we do not use).

You may not use concepts or material from other classes (say, a linear algebra class you may have taken) in your solutions. All the problems can be done using only the material from this class, and we will deduct points from homeworks that refer to outside material.

You are welcome to collaborate on the homework, but you must write up your own final version to hand in, and you must write up your own code.

  • Homework 1, due Friday 10/7/16:
    1.1, 1.2, 1.3, 1.4, 1.6, 1.7, 2.1, 2.2, 3.2, 3.4, 3.5, 3.6, and 3.24.

  • Homework 2, due Friday 10/14/16:
    2.3, 3.7, 3.14, 3.27, 4.2, 5.2, 5.5, 5.7, 6.1, and 6.5.
    For 4.2, see our tutorial on Julia's PyPlot library for creating figures here; download kmeans.jl here.

  • Homework 3, due Friday 10/21/16:
    6.6, 6.7, 6.11, 7.7, 9.1, 10.2, 10.5, 10.12, and 10.13.