solve for the given variable
A=1/2rP for r
A=1/2rP for r