$ 0 0 because you're restarting the sin wave every second, which won't necessarily be a zero crossing point