Completed 147c homework.