Taylor Series for Exponential Function - in Python

Pubblicato il: 31 maggio 2021
sul canale di: 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  


In questa pagina del sito puoi guardare il video online Taylor Series for Exponential Function - in Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ProCode CG 31 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,546 volte e gli è piaciuto 10 spettatori. Buona visione!