Suppose we want to solve for , therefore we want to run Newton’s method on . Therefore, the iteration that I’ve used is
Which means at points where the derivative is one are going to be messy. In fact, we can see this very easily in
The derivative of cosine is negative sine. Where is the negative sine equal to -1? Since sine is an odd function the negative sine is equal to -1 when the positive sine is equal to plus one. And that happens at and which correspond precisely to those weird X shaped things at those locations. But not all of those Xs are on the axes itself, and at the moment I’m not sure what to make of that.