First time here? Check out the FAQ!
answered 1 year ago
Using the keyword argument algorithm='sympy' leads to more success:
algorithm='sympy'
sage: solve(cos(theta)==sin(theta), theta, algorithm='sympy') [ImageSet(Lambda(_n, 2*_n*pi + 5*pi/4), Integers), ImageSet(Lambda(_n, 2*_n*pi + pi/4), Integers)]