Find a function that is harmonic on the wedge-shaped region between the rays in the complex plane with principal argument .
Guess where is a branch measured from 0 to so that there are no discontinuities in the region of interest.
Then these equations must hold:
Solve to get
The solution is