Thank you very much for this tutorial, you’re a great teacher. I know matlab and I’m pretty good at it but Watching your videos makes me want to learn it again. Thank you ❤️
hi thank you very much for your video. they are great sessions. I see that dx = x(2) -x(1) is not working in convergence study for trapezoidal integration is it ok to consider dx = x(3) -x(2)? thanks in advance.
That is odd. If you hare uniform spacing that x(3)-x(2) should be the same as x(2) - x(1). If you have nonuniform spacing, you will need a unique finite-difference approximation for each point you calculating a derivative.
@@2mek8 I knew you were joking. LOL Some people have asked and I said I was recording from the deck of an aircraft carrier. By the end of this summer, I hope to have improved all the recordings. Hard to find the time!
Hi there, thank you for making and uploading this video, it is a really good help to me. However, you have made a mistake on the Simpson's 3/8 rule integration. You said it was just the amount of your N-Points, but the real problem is your variable "a" in the Numerical Integration part of Simpson's 1/3 rule integration. You are using the variable "a" as an interval limit on the variable "x" and the linspace operator and you use it in the Simpson's 1/3 rule to evaluate the interval. So you are changing the value of "a", but you actually use the changed value on the linspace operator in Simpson's 3/8 rule. Thus, your value of the numerical integration is wrong, because your interval limits are not "0" and "pi" anymore. To solve that, you either have to set "a" to "0" again on Simpson's 3/8 rule or you initialize and use a different variable to do so. I think another variable makes it more clean. I hope you understand what I mean, because the Simpson's 3/8 rule is actually not that bad :D Greetings from Germany