I am trying to solve an equation involving trigonometric functions with Maxima, but I am not able to get the solutions. For example, solve(sin(x) = cos(x),x) returns [sin(x) = cos(x)] instead of %pi/4, and even equations with only one solution fail, since for example solve(sin(x) = x,x) returns [sin(x) = x] instead of 0.
Why does this happen?