No such thing as a small change | |
PerlMonks |
Re^4: Reverse engineering a formula...by Fletch (Bishop) |
on Jun 13, 2006 at 15:20 UTC ( [id://555063]=note: print w/replies, xml ) | Need Help?? |
ITYM sin not cos; the former intersects y=x for integers, while the later intersects for multiples of 0.5. And the extremums would be at n + (-1)n sin-1( 1 / rπ )/π (for integer n). </pedant> :) Update: Gah, I had 2π rather than rπ because I used that as the constant when I checked things.
In Section
Seekers of Perl Wisdom
|
|