Will this solve for x? I've multiplied it out and got greater than fourth order, but as I'm only mediocre at spotting hidden trig identities I'm not sure that I haven't missed an opportunity to reduce it.
A =( (P-Rcos x) / ( sqr(W^2-(P-Rcos x)^2) )-cot x)(Jsin x+Kcos x)