`A=sqrt{(5-sqrt3)^2}+sqrt{(2-sqrt3)^2}`
`=5-sqrt3+2-sqrt3`
`=7-2sqrt3`
`B=sqrt{(3-sqrt2)^2}-sqrt{(1-sqrt2)^2}`
`=3-sqrt2-(sqrt2-1)`
`=4-2sqrt2`
`C=sqrt{(3+sqrt7)^2}-sqrt{(2-sqrt7)^2}`
`=3+sqrt7-(sqrt7-2)`
`=5`
`D=sqrt{4-2sqrt3}+sqrt{7+4sqrt3}`
`=sqrt{3-2sqrt3+1}+sqrt{4+2.2.sqrt3+3}`
`=sqrt{(sqrt3-1)^2}+sqrt{(2+sqrt3)^2}`
`=sqrt3-1+2+sqrt3=1+2sqrt3`
\(A=\left|5-\sqrt{3}\right|+\left|2-\sqrt{3}\right|=5-\sqrt{3}+2-\sqrt{3}=7-2\sqrt{3}\)
\(B=\left|3-\sqrt{2}\right|-\left|1-\sqrt{2}\right|=3-\sqrt{2}-\sqrt{2}+1=4-2\sqrt{2}\)
\(C=\left|3+\sqrt{7}\right|-\left|2-\sqrt{7}\right|=3+\sqrt{7}-\sqrt{7}+2=5\)
\(D=\sqrt{3-2\sqrt{3}+1}+\sqrt{4+2.2\sqrt{3}+3}\)
\(=\sqrt{\left(\sqrt{3}-1\right)^2}+\sqrt{\left(2+\sqrt{3}\right)^2}=\left|\sqrt{3}-1\right|+\left|2+\sqrt{3}\right|\)
\(=\sqrt{3}-1+2+\sqrt{3}=1+2\sqrt{3}\)