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 Solvers4237
Suggested Problems
-
1558 Solvers
-
Sum all integers from 1 to 2^n
11063 Solvers
-
437 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
367 Solvers
-
Return fibonacci sequence do not use loop and condition
384 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!