Python integration using scipy quad function

  Рет қаралды 12,989

ignite.byu.edu

ignite.byu.edu

Күн бұрын

Python integration using spicy quad function. Here's a link to the notes in the video: nbviewer.jupyter.org/url/igni...

Пікірлер: 8
@DanHaiduc
@DanHaiduc 2 жыл бұрын
Thank you for the great overview of the quad function. I think it's amazing how it works under the hood, since it requires few evaluations to reach its error tolerance. I have one small comment on Approach 1: the function you wish to integrate can be defined not just with global variables, but inside another function (created with either def or lambda). So you don't need to make the variables global, and expose them to the risk of something changing them. So, you'd keep f(x, p), but when writing code for a specific circumstance, you'd have my_f(x), which only does "return f(x, my_computed_p)". That way, you can have the generally useful f, which can coexist with the specifically useful my_f. But you can of course just pass the parameters as you show at the end of the video. Thanks!
@hrperformance
@hrperformance Жыл бұрын
really appreciate this man. thanks so much
@benwinstanleymusic
@benwinstanleymusic 2 жыл бұрын
Thank you so much, this video was so clear and helpful!
@carlosortiz6337
@carlosortiz6337 Жыл бұрын
Pretty well explained, thank you so much.
@enriquesimpson9838
@enriquesimpson9838 4 жыл бұрын
can you explain how to do it when you want to have a variable?, like on the third example the p, but without giving p a value, and also could you explain how to integrate when a variable is on the integration limits? Thanks! great video by the way
@tagoreji2143
@tagoreji2143 3 жыл бұрын
good video sir,can u make another on double integral
@johanolander777
@johanolander777 2 жыл бұрын
Hi very informative but i have a question i can a in the last example follow a pattern (0,2,4,6...) and so on withot wrint a whole lots of I(n)?
Python nonlinear systems of equations using fsolve
16:30
ignite.byu.edu
Рет қаралды 12 М.
Integration in PYTHON (Symbolic AND Numeric)
15:20
Mr. P Solver
Рет қаралды 80 М.
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 40 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 19 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 25 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,6 МЛН
Python interpolation using scipy
16:36
ignite.byu.edu
Рет қаралды 11 М.
How to: Import, Plot, Fit, and Integrate Data in Python
24:11
Python Symbolic and Numeric Solutions
16:15
APMonitor.com
Рет қаралды 16 М.
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 224 М.
Stop, Intel’s Already Dead! - AMD Ryzen 9600X & 9700X Review
13:47
Linus Tech Tips
Рет қаралды 1,2 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 866 М.
Python Integration, Interpolation, and Curve Fitting
15:25
ignite.byu.edu
Рет қаралды 58 М.
Solving fluid mechanics pump curve using Python
19:40
ignite.byu.edu
Рет қаралды 8 М.
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 598 М.
Exact Areas and Definite Integral with Python
6:34
Jacob Koehler
Рет қаралды 21 М.
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 40 МЛН