Solve for B (sec(x)-1)/(sec(x)+1)=(A-cos(x))/(B+cos(x))