Given a circle with radius 1, a point A with a distance of d from its center, and a circle with radius r randomly and uniformly chosen inside the bigger circle, what is the average shortest distance from A to the random circle's circumference (If the point is inside the circle, the distance is 0)?
I could assume I could do this with an integral, but I can't figure out how to get the function.