Thời gian xe đi từ a→b:
\(t_1=\dfrac{s}{v_1}=\dfrac{s}{20}\left(h\right)\)
Thời gian xe đi từ b→a:
\(t_2=\dfrac{s}{v_2}=\dfrac{s}{25}\left(h\right)\)
Thời gian nghỉ:
\(t_n=20\%\left(t_1+t_2\right)=20\%\left(\dfrac{s}{20}+\dfrac{s}{25}\right)=\dfrac{1}{5}\cdot\dfrac{9s}{100}=\dfrac{9s}{500}\left(h\right)\)
Vận tốc trung bình:
\(v_{tb}=\dfrac{s+s}{t_1+t_2+t_n}\\ =\dfrac{s}{\dfrac{s}{v_1}+\dfrac{s}{v_2}+\dfrac{9s}{500}}\\ =\dfrac{s}{\dfrac{s}{20}+\dfrac{s}{25}+\dfrac{9s}{500}}\\ =\dfrac{2}{\dfrac{27}{250}}\\ =\dfrac{500}{27}=18,52\left(km/h\right)\)