Skip to content

Instantly share code, notes, and snippets.

Last active Oct 3, 2021
What would you like to do?
from TaylorSeries import TaylorSeries
def f(x):
return 2 + x**3 + x**7 + x**2
if __name__ == '__main__':
terms = 15
center = 0
precision = 3
ts = TaylorSeries(f, terms, center)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment