C++ Taylor series

Why should it be exactly zero? sin(pi) is zero but that’s not what you’re computing — you’re computing an approximation of sin(3.14).

Leave a Comment