Thay `x=\sqrt{3}` và `y=-1` vào `A`, ta được:
\(A=\left(\sqrt{3}\right)^2-\left|\left(\sqrt{3}\right)^2-\left(-1\right)\right|+2023\)
\(A=3-\left|3+1\right|+2023\)
\(A=3-4+2023\) ( vì `3+1>0` )
\(A=2022\)
Tại \(x=\sqrt{3};y=-1\) giá trị của biểu thức là:
\(A=\sqrt{3}^2-\left|\sqrt{3}^2-\left(-1\right)^2\right|+2023=3-\left|3+1\right|+2023=3-4+2023=2022\)