Taylor series cosine python. The function whose Taylor polynomial is sought.