Given triangle 1 with sides of length a, b, and c. Triangle 2 is constructed within triangle 1 by bisecting each side. Triangle 3 is constructed within triangle 2 by bisecting each of triangle 2's sides. And so on.
Find the area of triangle n.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers15
Suggested Problems
-
1713 Solvers
-
Increment a number, given its digits
681 Solvers
-
916 Solvers
-
Implement simple rotation cypher
1095 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
397 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The test
assert(your_fcn_name(a,b,c,n) - y_correct < y_correct/1000)
should be
assert(abs(your_fcn_name(a,b,c,n) - y_correct) < y_correct/1000)