Cody

Problem 44073. Fractal: area and perimeter of Koch snowflake

Created by Jihye Sofia Seo in Community

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

46.15% Correct | 53.85% Incorrect
Last solution submitted on Feb 08, 2019

Recent Solvers12

Suggested Problems

More from this Author9

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!