Problem Recent Solvers6803
Suggested Problems
-
Calculate the area of a triangle between three points
3425 Solvers
-
Set some matrix elements to zero
626 Solvers
-
507 Solvers
-
Rounding off numbers to n decimals
5531 Solvers
-
2031 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!
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