Given right triangle ABC with altitude BD drawn to hypotenuse AC. If AB=2 and AC=24, what is the length of AD?