解:过A作BC的垂线,交BC于点D.得到Rt△ABD和Rt△ACD,从而BD=ADtan55°,CD=ADtan25°,由BD-CD=BC,又BC=20海里.得 ADtan55°-ADtan25°=20. AD(tan55°-tan25°)=20, AD= ≈20.79(海里). 这样AD≈20.79海里>10海里,所以货轮没有触礁的危险.