I have no idea if this is the right forum to ask, but it is a math question. Please let me know where to ask if this is wrong. Sorry.
I have a chord going through a circle and know the length from that chord to the edge of the circle. If I move that chord "up", I need to know how to calculate the new "length" from the chord to the edge of the circle.

