Numerical Methods in Python Series - Rectangular Integration

Publicado em: 04 Julho 2021
no canal de: ProCode CG
594
11

Numerical Methods in Python Series - Trapezoid Integration

this tutorial will show you how to calculate integral with trapezoid method and draw the result with Python.


steps:
1. open Google Colab
2. do calculations for
f(x) = x**2
f(x) = x**4 + x**2 - x + 7
f(x) = x**2-2*x+3
f(x) = exp(-x**4)
f(x) = 1/(1 + x**2)
f(x) = exp(-x**2)

by running the first and second code

the first code will give you the result of the integral while the second code will draw you the result :)


4. observe the results and make analysis ;)

In the next tutorial we will compare integrations methods ;)


References:
1. https://www.math.ubc.ca/~pwalls/math-...
2. https://hplgit.github.io/edu/py_vs_m/...
3. http://firsttimeprogrammer.blogspot.c...
4. http://specminor.org/2017/01/05/numer...

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

visit our website: http://procodecg.com

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

and follow us on Instagram:   / procodecg  

Twitter:   / procodecg  

Facebook:   / procodecg  


Nesta página do site você pode assistir ao vídeo on-line Numerical Methods in Python Series - Rectangular Integration duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ProCode CG 04 Julho 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 594 vezes e gostou 11 espectadores. Boa visualização!