Problem 2016. Area of an equilateral triangle
Solution Stats
Problem Comments
-
8 Comments
Show
5 older comments
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
Show commentsProblem Recent Solvers6430
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3017 Solvers
-
Project Euler: Problem 10, Sum of Primes
1898 Solvers
-
11952 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
684 Solvers
-
Set some matrix elements to zero
565 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!