Question: returning sorted function values with the input value shown

hi, i need help with some maple code.

i want to evaluate a function at a number of points from a set (i have done this using a loop), and then sort the resulting values in a set (done with the inbuilt sort function), and finally convert the sorted results back to their original values so i can establish which values give the highest and lowest function values.

if i use the solve function, i get more than one solution for each function value, but i only want the specific original value which led to that function value.

i hope this makes sense, thanks for any help!

Please Wait...