Hello if you can help I would really appreciate it.
I have a loop that gives me real, complex and imaginary solutions, and a few zero solutions. I am only interested in the zero solutions and so i only want to see what my input values are when the solution is zero. All i need is some command to discard all solutions except the zero solutions at every interval of the loop so that i can see the corresponding input values.. I tried selectremove but its not really working, is there a way to do this? If this doesnt make sense i can clarify more.
this is a basic example of my loop:
for n from 1 by 1 to 10 do;
%%so here i would only want to see the n values when sin(n*pi) is zero.