Largest Square inside a Triangle

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
This Demonstration displays the largest square contained in a triangle.
Contributed by: Jaime Rangel-Mondragon (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
You might like to have fun finding out (though not by using this Demonstration directly) the exact value of the side of the largest square inside: (1) an equilateral triangle with side length one; and (2) an isosceles right triangle with the equal legs of length one. (Hint: the latter is easier than the former.)
Permanent Citation
"Largest Square inside a Triangle"
http://demonstrations.wolfram.com/LargestSquareInsideATriangle/
Wolfram Demonstrations Project
Published: March 7 2011