Find a value for “y” for each of n points on a function. Function is in the square system with x and y axes with values from 0 to 1. Function is made of two quarters of the circles where first circle starting with 0, 0 and ends in ,5, ,5 with center in ,5, 0, and second circle starting with ,5, ,5 and ends in 1, 1 with center in ,5, 1. First and last points are on the start and on the end of the function, points have same x distance with two, on the ends one, neighbors. In this case n is 23.
y=(√(6.25-( x-2.5 )² )-5)*(-( x-2.5 )/|( x-2.5 )|)
or
y=(sqrt(6.25-( x-2.5 )^2)-5)*(-( x-2.5 )/abs( ( x-2.5 ) ))