def r(C, p): return 2/(C*p)*asin(C*sin(p))
Note: the shortest waves have the largest error, and short waves move too slowly.