Mathematical Experiment 5

  1. Draw the markings on a ruler which indicate 1/2, 1/4, 3/4, 1/8 , 3/8,...divsions of the unit length.
  2. Draw a complete binary tree of 2n-1 nodes.
  3. Draw recursively two squares inside a square and when zoomed in at each of the squares the same configuration appears.
  4. Draw the Hilbert curve.
  5. Generate the Gray codes.
  6. Draw a cube and its cross-sections which are perpendicular to a main diagonal.