Talk:Test functions for optimization
Appearance
![]() | Mathematics Start‑class Low‑priority | |||||||||
|
Townsend constraints
The reference says to constrain inside the curve defined by:
t = chebfun('t',[0,2*pi]); x = 2*sin(t); y = 2*cos(t)-(1/2)*cos(2*t)-(1/4)*cos(3*t)-(1/8)*cos(4*t);
If you plug in t = 1, you get a point at (1.68, 1.62). Wikipedia's version says:
t = Atan2(y/x)
If you plug in x = 1.68, y = 1.62, you get t = 0.766, which does not match the original t. So I think this is incorrect. — Omegatron (talk) 05:00, 7 September 2017 (UTC)