Skip to main content
Sort
Tick mark Image
Evaluate
Tick mark Image

Similar Problems from Web Search

Share

sort(1+\left(-\frac{1}{2}\right)^{-2},-|-2|)
Calculate -3 to the power of 0 and get 1.
sort(1+4,-|-2|)
Calculate -\frac{1}{2} to the power of -2 and get 4.
sort(5,-|-2|)
Add 1 and 4 to get 5.
sort(5,-2)
The absolute value of a real number a is a when a\geq 0, or -a when a<0. The absolute value of -2 is 2.
5
To sort the list, start from a single element 5.
-2,5
Insert -2 to the appropriate location in the new list.