temp = 0; n = 0; for i=1:100, if temp >= sin(i), temp = sin(i), n = i, end, end,