So, from what Josie said in the comments on the OP, it’s not necessary to divide the ellipse into equal segments (which will require a whole bunch of terrible integrals) in order to build an ellipse from line segments of approximately equal length.
, , OP, , " ". Mathematica, .
, . , . , , - , .
: a = 5, b = 1:

, , :

x - , y - , 1 . , , , y = Sqrt(a^2 Sin^2(x) + b^2 Cos^2(x)). , , - - .
:

m = (a-b) / (Pi/2) y c = b. , , A = (a+b)*Pi/4.
, , ( , ) , .
x w, :
(v*m)*w^2 + (m*x+c)*w - A/k == 0
k - , , v - , . x0 = 0 w0, x1 = w0 w1. x2 = w1 .. .., k. k+1 - , , Pi/2.
v , . v = 0.5 10 :

, , . [0, 1], , , k/2.
, , , , . , , .