Numerical Integration: Discrete Riemann Integrals and Trapezoid Rule

  Рет қаралды 15,199

Steve Brunton

Steve Brunton

Күн бұрын

Пікірлер: 18
@hoseinzahedifar1562
@hoseinzahedifar1562 2 жыл бұрын
Very thanks for this excellent lecture, steve...❤ HomeWorks: In times 15:39 and 22:19 to 22:48: Driving the error of the four numerical integration schemes by using the Taylor series expansion of f(x): 1- Integration error of the Right-sided rectangle 2- Integration error of the Left-sided rectangle integration 3- Integration error of the Trapezoidal Rule integration 4- Integration error of the Simpson Rule integration P.S. : 1- In time 3:10: the number of points is equal to N+1. Indeed as you mentioned, N is the number of divisions. 2- the Links to the lectures for calculating the error of numerical time integrations mentioned in time 15:22.
@DerekWoolverton
@DerekWoolverton 2 жыл бұрын
Just to clarify @3:09, the number of points is N+1, the number of "boxes" is N.
@diemaschinedieviereckigeei2941
@diemaschinedieviereckigeei2941 2 жыл бұрын
(24:42) This graph shows right- and left-sided (and mid-sided) rectangles at the same time ;) (because there is a scaling error by one delta_x).
@nisitreddy7302
@nisitreddy7302 2 жыл бұрын
Let width of a word be 2,3. Differentiate the dimensions of the word. Integrate it to the measurement of electron in the brain. Maxima and minima of f(x,y) where x is time, y is length of the light which can be a higher order differentiation. We can get energy liberated I think.
@fungouslobster5123
@fungouslobster5123 2 жыл бұрын
this is rad, its funny how the difficulty of numerical integration and differentiation swap places when doing things analytically
@MrHaggyy
@MrHaggyy 2 жыл бұрын
numerical integration has one big problem in practice. The error gets accumulated over time, so no matter the stepsize, order of error, or curvature, your error will be significant at some point in the future. To get around this problem in engineering we usually take an expensive but accurate measurement at a big delta t1 and a cheap one at a much faster delta t2. This leads to Kalman filters.
@hoseinzahedifar1562
@hoseinzahedifar1562 2 жыл бұрын
@@MrHaggyy Interesting...
@MrHaggyy
@MrHaggyy 2 жыл бұрын
Really nice lecture. In some parts of Germany, we do this stuff already in school, just without Taylor`s series. I would also like to know if we can use the FFT for integrals. For the stuff, I do I usually need F, f, f', f'' and rarely f''. We usually can measure f to f'' fast and F slow to compensate for the error. We also had a neat discussion if you need integrals or derivatives for machine learning control, or if the algorithm will embed them if you provide enough data points. Might be interesting to hear your point.
@nisitreddy7302
@nisitreddy7302 2 жыл бұрын
Atoms of brain has magnetic field, that means it has storing capacity, the intensity of image is related to previous memories and it causes the amount of blood flowing in our brain, which effects the health and locomotion of body
@saraiva407
@saraiva407 2 жыл бұрын
Professor Steve, I believe the delta x as defined according to the declared variables would be (b - a)/(N - 2), because N is 1 unit bigger than the actual number of points (because the counting starts at 0, and not 1), and the number of intervals defined between these points is 1 unit smaller than the actual number of points.
@jamesrav
@jamesrav 2 жыл бұрын
he has it right (b-a)/N. If N = 1 you'd have pts x0 and x1, clearly delta x is (x1 - x0)/1
@saraiva407
@saraiva407 2 жыл бұрын
@@jamesrav Oh, you're both right!! 😅 my reasoning got a little off the track when I assumed N was 1 unit bigger than the number of points, when in reality it's also 1 unit less than that (if N=3, then we have 4 points), just like the number of intervals. Thank you!! :D And thank you professor Steve for the wonderful lecture!!
@ANTGPRO
@ANTGPRO 2 жыл бұрын
God bless you.
@hassanlaqrabti4036
@hassanlaqrabti4036 2 жыл бұрын
Professor is it possible to study data science at your university and get the same diploma ?
@alexz5405
@alexz5405 Жыл бұрын
I keep seeing learning rates of 10e-5 used in neural networks training. Now things clicked in place.
@TheEicio
@TheEicio Жыл бұрын
The python code for plotting the ‘stairs’ for the larger value of delta X is incorrect. The points of the stairs do not intersect the sin(xc) function. The reason for this is that the ‘edges’ variable is defined by adding an extra element to the np.linespace. While this satisfies the plt.stairs requirement that the edges contain one more element than the ‘values’ array, it changes all the step values between an and b, causing the stairs to misalign. A better way to add the extra element to ‘edges’ is to simply append the value ‘b’ to the end of ‘xc’.
@VladimirDjokic
@VladimirDjokic 9 ай бұрын
Cool ❤
Introduction to Variational Calculus - Deriving the Euler-Lagrange Equation
25:23
Good Vibrations with Freeball
Рет қаралды 416 М.
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Trapezoidal Rule for Integration | Derivation
8:07
Alpha Theta Epsilon
Рет қаралды 24 М.
Integration in PYTHON (Symbolic AND Numeric)
15:20
Mr. P Solver
Рет қаралды 87 М.
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН