Hacker News new | ask | show | jobs
by rsaxvc 1556 days ago
Pretty neat! Doesn't seem to get periodic functions, sin(PI*N/11) from N=1 to N=20, it fails to cross zero again for me.
1 comments

Thanks! Yeah it struggles with periodic functions that are wide. For example it successfully crosses zero with sin(PIxN/5) and delivers reasonable results for sin(PIxN/3). For your specific example you would probably need to provide something like N=1 to N=50.