Given the area of an equilateral triangle, what is an algorithm to determine the length of a side?
Compute the length of an equilateral triangle's side given the area?
4
$\begingroup$
algorithms
triangles
-
0If you know the length of a side of an equilateral triangle, do you know how to find the area? – 2012-11-27
-
0Yeah, I've found the algorithms for it, but I'm hideous at working out the inverse of algorithms. If I have an answer in front of me I'll be able to visualise how it works :) Never learnt geometry so this is all a bit new to me. – 2012-11-27
-
1If $A = C\cdot s^2$, then $s=\sqrt{\frac{1}{C}\cdot A}$. – 2012-11-27
1 Answers
5
Let $s$ be the side, and $A$ the area. Drop a perpendicular from one vertex to the opposite side. By the Pythagorean Theorem, the height of the triangle is $\sqrt{s^2-\frac{1}{4}s^2}=\frac{s\sqrt{3}}{2}$. It follows that $$A=\frac{s^2\sqrt{3}}{4}.$$ Thus $$s^2=\frac{4A}{\sqrt{3}},$$ and therefore $$s=\sqrt{\frac{4A}{\sqrt{3}}}.$$ There are several ways to rewrite the above expression.