由已知得:∠C=15°,∠ADB=30°,∴∠CAD=15°,∴∠CAD=∠C,∴DC=AD=20米,在Rt△DAB中,由sin∠ADB= AB AD ,得:AB=AD?sin∠ADB=20×sin30°=10(米),答:旗杆AB的高度为10米.