Taylor Series for Exponential Function - in Python

Publié le: 31 mai 2021
sur la chaîne: ProCode CG
1,546
10

Numerical Methods in Python Series - Calculating Taylor Series for Exponential Function

this tutorial will show you how to do make a simple code in Python to calculate exponential function with Taylor Series




steps:
1. create a factorial function
2. translate the Taylor Series equation above into lines of codes, and let the user enter the number of iteration. the more iteration the more precise the answer (but limited to the length of the datatype)
3. run the code and analyse the result. see that the code is giving the same result starting from iteration 17. it is because the datatype cannot go further with adding more digits :)

we will learn more about numerical methods in the next tutorial ;)


you can get the code from github:
https://github.com/cryptocodecg/numer...

References:
https://en.wikipedia.org/wiki/Taylor_...

thanks for watching, don’t forget to subscribe, activate the notification bell, like this video and also share it to support this channel to be able to continuously creates useful tutorials :)

leave us some comments if there is any questions and let us know what you think :)

Intro and Outro created by ProCodeCG Kids: Islamey Fawwaz Alfattan

also visit our website: http://procodecg.com

and blog: https://procodecg.wordpress.com

and follow us on Instagram:   / procodecg  

Twitter:   / procodecg  

Facebook:   / procodecg  


Sur cette page du site, vous pouvez voir la vidéo en ligne Taylor Series for Exponential Function - in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ProCode CG 31 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,546 fois et il a aimé 10 téléspectateurs. Bon visionnage!