The width-to-height ratio of paper in the ISO format is the square root of 2 to 1

Question:

The width-to-height ratio of paper in the ISO format is the square root of 2 to 1 . Format A0 has an area of 1 square meter. Format A1 is A0 cut with a vertical line into two equal halves, A2 is A1 cut with a horizontal line into two halves, and so on. Write a program that takes an integer command-line argument \(n\) and uses StdDraw to show how to cut a sheet of A0 paper into \(2^{n}\) pieces.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: