Problem 2016. Area of an equilateral triangle
67.07% Correct | 32.93% Incorrect
Last Solution submitted on Mar 27, 2023
Show 5 older comments
Adi Zabidi on 27 Dec 2016
haziq hadi on 27 Dec 2016
Howard Clark on 19 Oct 2017
jack walker on 2 Aug 2019
yes nice problem
Zsombor Nánai on 16 Feb 2020
Kaan Orhan Sergin on 13 Jun 2020
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;
Isabella Stellitano on 13 Nov 2021
Problem Recent Solvers4980
Remove the polynomials that have positive real elements of their roots.
Find out sum and carry of Binary adder
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!