∵AB=AC,∠BAC=40°,
∴∠B=∠C=1/2(180°-∠BAC)=70°,
过A作AD⊥BC于D,
则BD=CD=1/2BC=5,
cos∠B=BD/AB,
∴AB=5/cos70°≈14.62,
即腰长为14.62.