4 ms·
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.
by rsaxvc 5y 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.
- kris-s 5y agoThanks! 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.