This assignment is worth a total of 50 points.
All homework will be submitted electronically, using the curator system. You may submit your homework in PDF or Postscript form, or in any format that can be opened using Microsoft Word (including plain ASCII text). Note, however, that readability is important to your grade, and that you often need to typeset mathematical equations. If you submit more than one version of your homework, we will store all submissions, but will actually grade the latest one. Make sure that your file contains at the top your name, your ID number, your email address, as well as your partner's name, ID number and email address. All submissions MUST contain the following statement exactly as written here:
I understand the answers that I have submitted. The answers submitted have not been directly copied from another source, but instead are written in my own words.
Two students may work together and jointly submit the homework assignment. If this is done, the submission MUST also contain a statement detailing the contribution of each student to the solution of each problem.
1. Rawlins Chapter 1, Exercise 14.
2. Rawlins Chapter 1, Exercise 31.
3. Determine the value for "sum" as a function of "n" at the end of
executing the code fragment in Figure 1.11 on page 33.
(a) Show a summation that represents the value for "sum".
(b) Show the closed-form solution for this summation.