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)
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers56
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2056 Solvers
-
Compute a dot product of two vectors x and y
1056 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1279 Solvers
-
358 Solvers
-
Replace secondary diagonal elements of a square array
188 Solvers
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!