Problem 2016. Area of an equilateral triangle
Solution Stats
Problem Comments
-
8 Comments
yay
ok
Nice problem!!!
yes nice problem
Nice!
Nice
Any idea of optimizing my answer?
function y = equilateral_area(x)
side_1 = (x/2)/tand(30);
y = (x/2)*side_1;
end
good problem
Solution Comments
-
1 Comment
esay one
-
1 Comment
easy
-
1 Comment
nice function use
-
1 Comment
Great
-
1 Comment
It's called recycling :)
-
1 Comment
regexp cheat
Problem Recent Solvers4239
Suggested Problems
-
Find relatively common elements in matrix rows
1328 Solvers
-
1173 Solvers
-
1141 Solvers
-
613 Solvers
-
417 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!