v22.0310-003: Homework 3

Due date: 12 midnite, Wed October 14, 1998.

This entire homework is to be submitted electronically, directly to the grader (swc210@is8.nyu.edu). But see more details below.


  1. Do problem C-3.3 on page 109.
  2. Do problem C-3.4 on page 110.
  3. Programming problem: Write an applet that will display the results of the program that you wrote for the first homework assignment. So you can reuse the SinProgression and CosProgression classes, but instead of writing a class with a main() method that displays the results to standard output, you will write an applet that will display the results on a web browser (or in the appletviewer program). NOTES: You may look at the two simple applet examples in the class webpage (under "programs")
  4. Document each class in your program from the previous question with javadoc style documentation. Use the guidelines in our FAQ's on this, http://cs.nyu.edu/~yap/classes/basic/info/faqs/javadoc.html . Use javadoc to then generate a html files for each class, and other associated html files. Put all these html files in a directory called
    ~yap202/public_html/hw3
    in your class account in acf5 (here, replace yap202 with your own user id for acf5). Make sure that both your directories (public_html and hw3) are world readable and world executable. See http://cs.nyu.edu/~yap/classes/basic/info/faqs/web-publishing.html in our FAQ's for more instructions. So for this part of the homework, you only email to the grader the URL for the above html files. DO NOT MAIL YOUR HTML FILES TO THE GRADER. NOTE: be sure that the "last-modified" dates on these files are before the deadline.