I have this equation:
Which I would like to solve. Without using mathematica, you can pretty easily see that a = -2 and b = 1, but when I solve it with mathematica it gives me various long results including sometimes tan, sec cot etc.
I can break it up into to parts like this:
However, the point with mathematica isn't to make everything manually, and I would hope there is a method to use, without manually editing the equations.
So my question is: How do I solve this for a and b, with the results of a = -2 and b = 1?