There is a solution under certain special conditions. If either A=0 or B=0, for example, then you could easily solve for the other two letters. But if both A and B are nonzero then it is like tkhunny said. There's no way to solve this in terms of the functions we know about.