Created
August 29, 2015 10:26
-
-
Save mick001/d28df4f3117dbcb93ac4 to your computer and use it in GitHub Desktop.
Taylor series with Python and Sympy part 1. Full article at http://www.firsttimeprogrammer.blogspot.com/2015/03/taylor-series-with-python-and-sympy.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# >>> | |
# Taylor expansion at n=1 x | |
# Taylor expansion at n=3 -x**3/6 + x | |
# Taylor expansion at n=5 x**5/120 - x**3/6 + x | |
# Taylor expansion at n=7 -x**7/5040 + x**5/120 - x**3/6 + x | |
# Taylor expansion at n=9 x**9/362880 - x**7/5040 + x**5/120 - x**3/6 + x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment