Solve for f 1/p+1/q=1/f