First time here? Check out the FAQ!
answered 6 years ago
nbrion's answer's usefulness can be slightly enhanced with a few assumptions:
nbrion
sage: with assuming(b>-pi/2,b<pi/2): ((eqn2[0]).solve(b)[0]/cos(b)).trig_reduce() ....: .arctan().trig_expand() b == arctan(z*cos(c)/x + y*sin(c)/x)
HTH,