Three shops stand at 2, 6 and 10 on a straight road. Where should you live to make the total walking distance |x - 2| + |x - 6| + |x - 10| least, and what is that least total? | StemPy Lab
Three shops stand at 2, 6 and 10 on a straight road. Where should you live to make the total walking distance ∣x−2∣+∣x−6∣+∣x−10∣ least, and what is that least total?