ANSWERS TO POSTSCRIPT EXERCISES
1. 16 = 2^4
2. 1
3. 65536 = 2^2^4 (A few more "dup mul" operations would calculate some
truly huge integers: PostScript eventually represents them as
"infinity" rather than overflowing.)
4. 1 1 2 3 5 8 (Fibonacci numbers.)
5. 1 1 2 3 5 8 13 21 34 55 89 144
6. Draws an "X".
7. Same thing.
8. Same thing.
9.
%!
200 200 moveto
0 100 rlineto
150 300 moveto
100 0 rlineto
stroke showpage