Height using Reflection from a Mirror

A person places a mirror at point Xm on the ground to look at the building or pole at point C with height h2. You can adjust the height of eye level for the person using the red slider for AB. You can adjust the height of the pole or building by adjusting the red slider for CD. You can move point A to change where the person is standing. You can move point C to change where the building or pole is. You can also move the mirror by moving point Xm. The yellow vectors show the line of site from eye level to the point on the building being reflected. When the top of the building or pole is visible in the mirror the similar triangles are shown.