解:設(shè)前?$8$?位隊員的平均身高為?$a\mathrm {cm},$?則前?$5$?位隊
員的平均身高為?$(a + 3)\mathrm {cm};$?設(shè)后?$15$?位隊員的平
均身高為?$b\mathrm {cm},$?則后?$18$?位隊員的平均身高為?
$(b + 0.5)\mathrm {cm}。$?
?$ \begin {aligned}5×(a + 3)+18×(b + 0.5)&=8a + 15b\\5a+15 + 18b+9&=8a + 15b\\24+5a+18b&=8a + 15b\\18b-15b+24&=8a - 5a\\3b+24&=3a\\a - b&=8\end {aligned}$?
答:前?$8$?位隊員的平均身高比后?$15$?位隊員的平均
身高高?$8\ \mathrm {cm}。$?