A ladder is 25 ft long leans against a wall. If its foot is 10 feet from the wall,how high does it reach the wall?

a^2 + b^2 = c^2

10^2 + b^2 = 25^2
100 + b^2 = 625
b^2 = 525
b = 22.91