A ladder is placed against a vertical wall at an angle of 45° to the horizontal. If the foot of the ladder is 2.5m away from the wall, how high up the wall does the ladder reach?