Hello, dnoster!
I have a semicircle, and at certain intervals on the diameter, I have points.
I need to know the height from the points to the arc of the semicircle.
Code:
C
* * *
*/: \ *
* / : \ *
* / : \ *
/ :h \
*/ : \ *
*-----*--+--------*
A x P 2r-x B A triangle inscribed in a semicircle is a right triangle: . 
We have a point
on the diameter, where 
If
is the radius of the circle, then 
. . . . . . . . . . . . . . . . . Theorem
. . . . . The altitude to the hypotenuse of a right triangle
. . . . . . . . . . . . .is the mean proportional
. . . . . . . . of the two segments of the hypotenuse.
That is: . )
Therefore: .