∣a-b∣-∣b-c∣-∣a-c∣
=a-b-(b-c)-(a-c)
=a-b-b+c-a+c
=-2b+2c
也可算出结果:
=∣1-(-1.5)∣-∣-1.5-(-2)∣-∣1-(-2)∣
=1+1.5-(-1.5+2)-(1+2)
=1+1.5+1.5-2-1-2
=∣2.5∣-∣0.5∣-∣3∣
=2.5-0.5-3
=-1
∣a-b∣-∣b-c∣-∣a-c∣
=a-b-(b-c)-(a-c)
=a-b-b+c-a+c
=-2b+2c
也可算出结果:
=∣1-(-1.5)∣-∣-1.5-(-2)∣-∣1-(-2)∣
=1+1.5-(-1.5+2)-(1+2)
=1+1.5+1.5-2-1-2
=∣2.5∣-∣0.5∣-∣3∣
=2.5-0.5-3
=-1