Problem 44073. Fractal: area and perimeter of Koch snowflake

Starting from an equilateral triangle with side 's', what is the area and perimeter of Koch snowflake at n'th recursive iteration?

For given 's' and 'n' as function input, return 'Area' and 'Perimeter' of snowflake. (round to nearest integer for simplicity)

Ref: https://en.wikipedia.org/wiki/Koch_snowflake

Solution Stats

45.54% Correct | 54.46% Incorrect
Last Solution submitted on Aug 09, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers34

Suggested Problems

More from this Author9

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!