Hey MiloMan.

Based on your question, the expression you are stating doesn't make sense. sin(x) != cos(-x) in general.

If you are trying to solve for a particular x, you can use the fact that cos(-x) = cos(x) = sin(x) which means tan(x) = 1 and x = arctan(1).