Skip to main content

1. The Koch snowflake at stage 0 is an equilateral triangle with side length 1 unit. a) Find the perimeter for stages 1-5 if the perimeter for...

Hello!


1. When constructing the Koch snowflake, we start with an equilateral triangle (stage `0`). On each subsequent stage the figure remains a closed polygon, all segments of this polygon have the same length. Denote the perimeter at the `n`-th stage as `P_n,` it is given that `P_0 = 3.`


After `n`-th stage we take each segment of the polygon and broke it onto three equal sub-segments. Two sub-segments at the ends remain at their places, while the middle sub-segment is replaced by two segments of the same length looking outwards of the center.


Thus, each segment of length `x` is replaced with `4` segments of the length `x/3` each, the new length becomes `4/3 x.` The same ratio applies to the perimeters because they are the sums of the lengths. This way we see that  `P_(n+1) = 4/3 P_n.`


A sequence whose next term is fixed times more than the previous is called geometric progression, and its `n`-th term is


`P_n = P_0 * (4/3)^n = 3* (4/3)^n.`


For first `n`'s the perimeters are


`P_1 = 4, P_2 = 16/3, P_3 = 64/9, P_4 = 256/27, P_5 = 1024/81.`



[The second part, about the Sierpinski triangle, is somewhat similar but different. I can answer it as a separate question.]

Comments

Popular posts from this blog

etymology - Origin of the greeting "Sweet dreams".

Does anybody know the etymology of the phrase "sweet dreams"? I tried googling but did not find anything satisfying. Is this a relatively new phrase of the modern world or has this been in use for some time? I think it's the latter one. Answer The OED has the interjection as "a farewell to someone going to bed" from the 20th century: 1908 Sears Roebuck Catal. 198/1 Tenor Solos..Good Bye, Sweet Dreams, Good Bye. But it goes back until at least the 19th and possibly 18th centuries. John Wolcot, writing under the pseudonym of Peter Pindar, used it in his poem "Orson and Ellen; A Legendary Tale" published in 1801: Also from 1801 in The infernal Quixote (Page 287) by Charles Lucas: In the March 1776 of The Universal Magazine was published "The Serenade. A Pastoral Tale. From the German of Gesner" , where the shepherd Daphnis watches over his beloved as she sleeps and sings: The same tale appears in 1776's as Idyl XI, " Daphnis ...

Is there a word/phrase for "unperformant"?

As a software engineer, I need to sometimes describe a piece of code as something that lacks performance or was not written with performance in mind. Example: This kind of coding style leads to unmaintainable and unperformant code. Based on my Google searches, this isn't a real word. What is the correct way to describe this? EDIT My usage of "performance" here is in regard to speed and efficiency. For example, the better the performance of code the faster the application runs. My question and example target the negative definition, which is in reference to preventing inefficient coding practices. Answer This kind of coding style leads to unmaintainable and unperformant code. In my opinion, reads more easily as: This coding style leads to unmaintainable and poorly performing code. The key to well-written documentation and reports lies in ease of understanding. Adding poorly understood words such as performant decreases that ease. In addressing the use of such a poorly ...

What are the similarities between the relationships of the characters in The Outsiders and Romeo and Juliet?

At first glance, it might appear as if the characters in  The Outsiders  by S. E. Hinton and  Romeo and Juliet  by William Shakespeare do not have much in common; however, when one isolates the core of the conflicts, it becomes clear that the relationships in both stories are rooted in rivalry and secrecy.  In both  The Outsiders  and  Romeo and Juliet , an overarching theme is rivalry. While   socioeconomic status separates the greasers from the Socs in The Outsiders , last names separates the Montagues from the Capulets, who appear to be relatively equal in terms of socioeconomic status. Due to these rivalries, there are instances of deadly interactions in both stories. In  The Outsiders , Johnny kills Bob (whether his actions were justified or not is debatable). In  Romeo and Juliet , Romeo kills Tybalt and Paris, and Tybalt kills Mercutio. These deaths have profound effects on the main characters. In Ponyboy's case, the Johnny's death and other events in the novel inspire h...