Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Week 5

Reading

  • Textbook: Chapter 1.5: Input and Output [p. 126 to p. 161]

Slides

Download Slides

Exercises

  • Exercise 1.5.1
  • Exercise 1.5.2
  • Exercise 1.5.3
  • Exercise 1.5.6
  • Exercise 1.5.7*
  • Exercise 1.5.10
  • Exercise 1.5.11
  • Exercise 1.5.19*
    Hint You can calculate the coordinates of point i (where 0 <= i < n) with the following formulas:
    • xi = cos(2 · π · i / n)
    • yi = sin(2 · π · i / n)
  • Exercise 1.5.26*