{\displaystyle r={\frac {1+i}{1+p}}-1\,\!}