Question: Help with sorting and graph

I'm using the following function for my project,:

printlevel:=2:for Prc from 2 by 1 to 100 do for B from 2 by 0.5 to 100 do (mf(Prc,B)):=(f(Prc))*(m(Prc,B)) end do end do

Is there any way to be able to sort the answers in ascending order? I tried to use sort, but when I put sort(mf(Prc,B)) it gives me a wrong answer and jumps into Prc=101 and B=20.5.

Also is there any way to put a condition for show only real numbers, without complex numbers?

And how I can plot this function? I tried several plot codes, but haven't been able to get a graph.

Thanks, Jose

Please Wait...