P(x,y)=(2cos(at),2sin(bt))

2

-2

0

2π

2

-2

0

2π

x(t)

tijd t

tijd t

y(t)

a = 2 (slider from -10 to 10, step 1)
b = 1 (slider from -10 to 10, step 1)
t = 0 (slider from 0 to 6.283185307179586, step 0.01)
P: (2 cos(a t), 2 sin(b t))
A = (3, 3)
B = (3, 1)
C = (3, 2)
D = (6, 2)
E = (3, -1)
F = (3, -2)
G = (3, -3)
H = (6, -2)
c = Segment(A, B)
d = Segment(C, D)
e = Segment(E, G)
f = Segment(F, H)
g = Circle(C, 3 / (2 * 3.141592653589793) t)
I, O = Intersect(g, d)
h = OrthogonalLine(I, d)
J = Intersect(h, f)
k = Circle(I, abs(cos(a t)))
p = Circle(J, abs(sin(b t)))
K, L = Intersect(k, h)
M, N = Intersect(p, h)
i = Segment(L, I)
j = Segment(N, J)
l = Segment(J, M)
m = OrthogonalLine(P, xAxis)
Q = Intersect(xAxis, m)
R = Intersect(yAxis, xAxis)
n = Segment(R, Q)
q = Segment(P, Q)
s = Segment(I, K)