Intro to Programming, p. 117, Program 2.1.1
| Printed: | Program 1.4.1 |
| Fixed: | Program 1.3.6 |
Intro to Programming, p. 126
| Printed: | Program 2.4.2 |
| Fixed: | Program 2.1.2 |
Intro to Programming, p. 131
| Printed: | Program 1.4.2 |
| Fixed: | Program 1.4.1 |
Intro to Programming, p. 146, Exercise 2.1.9
| Printed: | phi((x - mu) / sigma^2) |
| Fixed: | phi((x - mu) / sigma) / sigma |
Intro to Programming, p. 165, Program 2.2.4
| Printed: | sum / i |
| Fixed: | sum / N |
Intro to Programming, p. 166
| Printed: | java Markov 2 < example.txt |
| Fixed: | nexts line should be 3 3 |
Intro to Programming, p. 167
| Printed: | \\ |
| Fixed: | // |
Intro to Programming, p. 170
| Printed: | Draw |
| Fixed: | don't need Draw anymore |
Intro to Programming, p. 180, Program 2.2.9
| Printed: | StdDraw.spot(x, y); |
| Fixed: | StdDraw.point(x, y); |
Intro to Programming, p. 185
| Printed: | Program 2.2.7 |
| Fixed: | Program 2.2.10 |
Intro to Programming, p. 189
| Printed: | sin(2*Pi*t /440) |
| Fixed: | sin(2*Pi*t *440) |
Intro to Programming, p. 211, Program 2.3.2
| Printed: | moves(n, !left) |
| Fixed: | moves(n-1, !left) |
Intro to Programming, p. 211, Program 2.3.2
| Printed: | 0 1 0 2 0 1 0 |
| Fixed: | 1 2 1 3 1 2 1 |
Intro to Programming, p. 215, Program 2.3.3
| Printed: | Incorrect program and output. |
| Fixed: | See GrayCode.java for the corrected code and output. |
Intro to Programming, p. 226
| Printed: | BrownianBridge |
| Fixed: | Brownian |
Intro to Programming, p. 243, Program 2.4.1
| Printed: | int p = Double.parseDouble(); |
| Fixed: | double p = Double.parseDouble(); |
Intro to Programming, p. 250
| Printed: | StdDraw.filledSquare(N-i, j, d)); |
| Fixed: | StdDraw.filledSquare(N-i, j, d); |
Intro to Programming, p. 252
| Printed: | setInkColor |
| Fixed: | setPenColor |
Intro to Programming, p. 252, Program 2.4.4
| Printed: | boolean[] |
| Fixed: | boolean[][] |
Intro to Programming, p. 256-257
| Printed: | threshold value about 0.417 |
| Fixed: | threshold value about 0.407 |