Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here is the data from the lab we have to do. I'm not too sure where to start. Hope you can help! Thanks! Pattern-1 Pattern-2

image text in transcribed

Here is the data from the lab we have to do. I'm not too sure where to start. Hope you can help!

Thanks!

Pattern-1 Pattern-2 Pattern-3 Pattern-4 In each pattern a smaller square is drawn at each of the four corners of the next larger square. This pattern repeats again and again. It might repeat any number of times or levels. In the pictures above, the pattern is repeated four times or levels. If another level were asked for, then 192 very small squares would have to be drawn. The patterns differ in which squares are drawn on top of the others and thus may be hidden from view. The largest square, the one at level one, is drawn in the center of a square canvas and the length of its side is one half the length of the side of the canvas. The center of the next smaller square is always at the corner of the larger square. And the size of the next smaller square is determined by a fixed ratio R. If the smaller square has a side of length s and the next larger square has a side of length b, then R is the ratio b/s. In the pictures above the ratio R is about 2.2. Input Read ratio R, level L and pattern number n(1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions