Looks to be calculating fine, but the limited sampling resolution we can achieve for the graph means that "high-resolution" functions like this will look… strange. Effectively what you are seeing is one-dimensional aliasing. Unfortunately we're stuck with it until we optimize well enough to achieve full per-pixel graph sampling. We have plans for this, but it's… complicated. It involves transpiling latex to GLSL, which I'm sure will be a super fun task for some motivated student and not at all a massive headache.