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
-
2311 Solvers
-
1137 Solvers
-
4163 Solvers
-
Set the array elements whose value is 13 to 0
1170 Solvers
-
3567 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!