Problem 2016. Area of an equilateral triangle
Solution Stats
Problem Comments
-
8 Comments
Show
5 older comments
Adi Zabidi
on 27 Dec 2016
yay
haziq hadi
on 27 Dec 2016
ok
Howard Clark
on 19 Oct 2017
Nice problem!!!
jack walker
on 2 Aug 2019
yes nice problem
Zsombor Nánai
on 16 Feb 2020
Nice!
Kaan Orhan Sergin
on 13 Jun 2020
Nice
Rahul Gulia
on 24 Sep 2021
Any idea of optimizing my answer?
function y = equilateral_area(x)
side_1 = (x/2)/tand(30);
y = (x/2)*side_1;
end
Isabella Stellitano
on 13 Nov 2021
good problem
Solution Comments
-
1 Comment
Haoran Tian
on 28 Nov 2021
esay one
-
1 Comment
Josh Klueber
on 11 Nov 2021
easy
-
1 Comment
john perkins
on 4 May 2021
nice function use
-
1 Comment
song peng
on 19 Dec 2020
Great
-
1 Comment
mcbirxx
on 9 Oct 2020
It's called recycling :)
Problem Recent Solvers4980
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1255 Solvers
-
1355 Solvers
-
630 Solvers
-
Find out sum and carry of Binary adder
1003 Solvers
-
358 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!