Simpson's Rule - Numerical Integration | Programming Numerical Methods in MATLAB

  Рет қаралды 73,103

mechtutor com

mechtutor com

6 жыл бұрын

Get the ebook of this method and many more with code files on this webpage: mechtutor.thinkific.com/cours...
MATLAB Quick Reference - ebook link: mechtutor.thinkific.com/cours...
In this tutorial, the theory and MATLAB programming of Simpson's 1/3 rule of numerical integration (quadrature) is explained. This video is one of the online course tutorials of Programming Numerical Methods in MATLAB/Octave.
*** For a full course on Numerical Methods in Python, visit:www.udemy.com/course/programm...
Visit my new Python course webpage: mechtutor.thinkific.com/cours...
Credits:
Music: title:"Carefree", source:freemusicarchive.org/music/Ke...

Пікірлер: 34
@mechtutorcom
@mechtutorcom 2 күн бұрын
Download your FREE "MATLAB Cheat Sheet" from here: mechtutor.thinkific.com/products/digital_downloads/matlab-cheatsheet
@lukeyard100
@lukeyard100 3 жыл бұрын
It blows my mind how simply this should be and yet my professor makes it so hard, you have my eternal gratitude
@novendraanon3181
@novendraanon3181 6 жыл бұрын
Dude, I can't express how grateful I am when I see your channel. so freaking helpful thxx
@sibusisosithole9778
@sibusisosithole9778 5 жыл бұрын
You have saved so many lives!! I am so thankful for your existence !!!
@leshamas_
@leshamas_ 3 жыл бұрын
This is what I was hoping to find. Thank's to this amazing work I now fully understand the Simpson's rule. For all the seekers: the actual formula is on 5:24.
@mamtakapoor2600
@mamtakapoor2600 5 жыл бұрын
Thanks a lot. Kindly continue making such videos. Really helpful.
@solomononuchefaruna5022
@solomononuchefaruna5022 10 ай бұрын
Thank you so much for the comprehensive tutorial. It's indeed an eye opener for me, most especially the programming aspect of it
@daveshanks9163
@daveshanks9163 3 жыл бұрын
Cheers fella. Couldn’t find a solution for my uni coursework but this one is the only one that worked cheers
@benlouieyap6058
@benlouieyap6058 4 жыл бұрын
Thanks a lot, you really saved my precious time!
@anthonyclarenceella2295
@anthonyclarenceella2295 3 жыл бұрын
Thank you, your videos are great!
@jacopocarra3772
@jacopocarra3772 6 жыл бұрын
Thank you! very helpful, but shouldn't you use the absolute value of f(a)+f(b) while calculating s the first time?
@obiwaleabigaelchannel
@obiwaleabigaelchannel 3 жыл бұрын
Thanks for making this Ava
@weekdays206
@weekdays206 5 ай бұрын
Thank you dude!
@eastenderirl7607
@eastenderirl7607 4 жыл бұрын
please i'm having issues relating this to waterplane area when given the half-breath and station spacing for marine designs using MATLAB...please i need ASAP help, thank you
@archiboldpatsanza884
@archiboldpatsanza884 6 жыл бұрын
thank you so much
@emanawawdeh2368
@emanawawdeh2368 4 жыл бұрын
Thank you so much
@Gandalfbaws
@Gandalfbaws 4 жыл бұрын
thanks!
@clarisabisa5109
@clarisabisa5109 4 жыл бұрын
thank you so muchhhhhhhhhhhh
@anayatullahkhan8427
@anayatullahkhan8427 2 жыл бұрын
how to find the error by using simson's 1/3 rule , plz explain
@karangupta_IIT_DELHI
@karangupta_IIT_DELHI 2 жыл бұрын
How can i plot using simpson rule?? I have 500 values of y corresponding to 500 values of x now i have to integrate using simpson 1/3rd rule and want to plot it.
@rajakarunarlacrajakaruna9832
@rajakarunarlacrajakaruna9832 4 жыл бұрын
how to find I if n gets different values
@mechtutorcom
@mechtutorcom 4 жыл бұрын
In this code, the number of divisions (n) is set by the user and the step size (h) is calculated accordingly. That means you can define the value of n at the beginning. If you have a specific step size, you can use the equation n = (b - a)/h to find (n), but still (n) should be an even integer. For that reason you have to adjust the value of (n) to satisfy the condition anyway. I hope I could answer your question.
@laylabitar5853
@laylabitar5853 4 жыл бұрын
How can you use this method if you only have a data set, not a function?
@mechtutorcom
@mechtutorcom 4 жыл бұрын
Very good question! Numerical integration methods like trapezoidal and Simpson rules can be used for data points as well. Instead of getting the value of y from a function f(x), they will be taken from an array y = [y1,y2,...,yn]. If x differences (step size h) are equal, you can use almost the same algorithm, otherwise you need to consider the x array, x = [x1,x2,...,xn], by multiplying xi by yi in each term. I hope I could answer your question clearly. Thank you for the comment and question.
@bhawikamahajan2757
@bhawikamahajan2757 2 жыл бұрын
Is it in C language??
@dr.muhammadrehansaleem7978
@dr.muhammadrehansaleem7978 4 жыл бұрын
Plz share 3 by 8 simpsons rule MATLAB code with finding error, in my code there is a minor error, not giving accurate result
@mechtutorcom
@mechtutorcom 4 жыл бұрын
Currently, I prepare and publish videos about numerical methods in Python. I will make a video about Simpson 3/8 method in coming few weeks. Thanks for your comment.
@hadif6165
@hadif6165 3 жыл бұрын
I put the same exact coding as yours, and i got different value. Why is that?
@mechtutorcom
@mechtutorcom 3 жыл бұрын
It is difficult to know why your output value is different without checking your code. That could be due to typing errors like mixing small and capital letters, or typing the numbers 1 or 0 instead of letters l or O, respectively. I recommend checking your code line by line until you find the difference. Thanks,
@Beto234
@Beto234 6 жыл бұрын
+10 prro subs :v/ hail gera :v ggagaga
@dr.muhammadrehansaleem7978
@dr.muhammadrehansaleem7978 4 жыл бұрын
Waiting for your kind and soon response
@ahmedaljumele2701
@ahmedaljumele2701 5 жыл бұрын
thank you so much
Numerical Integration With Trapezoidal and Simpson's Rule
27:08
Professor Leonard
Рет қаралды 393 М.
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 9 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 11 МЛН
UNO!
00:18
БРУНО
Рет қаралды 3,5 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 21 МЛН
Simpson’s 3/8 Rule Theory & Derivation | Numerical Analysis
5:24
StudySession
Рет қаралды 3,6 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
MATLAB Session -- Numerical Integration
23:51
EMPossible
Рет қаралды 37 М.
Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab
36:52
What is a Monad? - Computerphile
21:50
Computerphile
Рет қаралды 598 М.
Trapezoid Rule Error - Numerical Integration Approximation
5:18
Mathispower4u
Рет қаралды 93 М.
Gaussian Quadrature | Lecture 40 | Numerical Methods for Engineers
8:51
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 9 МЛН