Đổi 30p = \(\dfrac{1}{2}h\)
Theo đề ta có: t1 - t2 = \(\dfrac{1}{2}\)
\(\Leftrightarrow\dfrac{s}{v_1}-\dfrac{s}{v_2}=\dfrac{1}{2}\)
\(\Leftrightarrow s\left(\dfrac{1}{v_1}-\dfrac{1}{v_2}\right)=\dfrac{1}{2}\)
\(\Leftrightarrow s.\left(\dfrac{1}{30}-\dfrac{1}{40}\right)=\dfrac{1}{2}\)
\(\Leftrightarrow s=\dfrac{1}{2}:\dfrac{1}{120}=60\left(km\right)\)
vậy: AB = 60km