solve ddx sincosxx=0