the base of a 34ft ladder is placed 12ft from a building. how high above the ground is the top of the ladder

Pythagorean Theorem:

a^2 + b^2 = c^2

a^2 + 12^2 = 34^2

a^2 + 144 = 1156

a^2 = 1156 - 144

a^2 = 1012

a = 31.81