Numerical Methods in Python Series - Rectangular Integration

Veröffentlicht am: 04 Juli 2021
auf dem Kanal: 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  


Auf dieser Seite können Sie das Online-Video Numerical Methods in Python Series - Rectangular Integration mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ProCode CG 04 Juli 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 594 Mal angesehen und es wurde von 11 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!