Từ \(\frac{x}{2}=\frac{7}{3}\Rightarrow x=\frac{14}{3}\)
Từ \(\frac{y}{5}=\frac{z}{4}\Rightarrow y=1,25z\)
Lại có: x - y + z = -21
\(\Leftrightarrow\) \(\frac{14}{3}-1,25z+z=-21\)
\(\Leftrightarrow z=\frac{-308}{3}\)
\(\Rightarrow y=1,25\times\frac{-308}{3}=\frac{-385}{3}\)
\(\Rightarrow\left|x+y-z\right|=\left|\frac{14}{3}+\frac{-385}{3}-\left(\frac{-308}{3}\right)\right|=21\)