Please create an excel formula.

The formula is taking the diameter of a circle, the shift in x direction, the shift in y direction and an angle as an input.

It represents two identical circles, whilst one is shifted in x and y direction according to the input.

The formula is supposed to return the distance from the outer diameters of the circle at the given angle. Provide the entire answer in JSON format.
user