Appendix A: Answers to Selected Exercises
Luke Tierney · Wiley series in probability and statistics · 1990
A Answers to Selected Exercises 2.1 a) 14 bj 2 c) (+ 3 5 6) d) 10 e) x The interpreter prints the symbol using upper case letters.f > (QUOTE X) The interpreter expands the single quote to the full quote expression before returning it.2.2 4 2 b) (5 6 7) c) (4 10 18) d) This generates an error.since the vectorized arithmetic system requires that compound data arguments be the same length.2.5 (def x (rseq -2 3 30)) (plot-lines x (+ (* 2 x) (* x XI)) 347 LISP-STAT: An Object-Oriented Environment for Statistical Conzputing and Dynamic Graphics