solve sin(a*x) = 0 for x