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

Similar Problems from Web Search

Share

sort(2,\frac{7}{8},1-\frac{1}{2})
Divide 7 by 7 to get 1.
sort(2,\frac{7}{8},\frac{2}{2}-\frac{1}{2})
Convert 1 to fraction \frac{2}{2}.
sort(2,\frac{7}{8},\frac{2-1}{2})
Since \frac{2}{2} and \frac{1}{2} have the same denominator, subtract them by subtracting their numerators.
sort(2,\frac{7}{8},\frac{1}{2})
Subtract 1 from 2 to get 1.
2,\frac{7}{8},\frac{1}{2}
Convert decimal numbers in the list 2,\frac{7}{8},\frac{1}{2} to fractions.
\frac{16}{8},\frac{7}{8},\frac{4}{8}
Least common denominator of the numbers in the list 2,\frac{7}{8},\frac{1}{2} is 8. Convert numbers in the list to fractions with denominator 8.
\frac{16}{8}
To sort the list, start from a single element \frac{16}{8}.
\frac{7}{8},\frac{16}{8}
Insert \frac{7}{8} to the appropriate location in the new list.
\frac{4}{8},\frac{7}{8},\frac{16}{8}
Insert \frac{4}{8} to the appropriate location in the new list.
\frac{1}{2},\frac{7}{8},2
Replace the obtained fractions with the initial values.