No video

MATLAB Session -- Secant Method

  Рет қаралды 39,579

EMPossible

EMPossible

Күн бұрын

This video implements the secant method in MATLAB. The example finds a root of the sin() function in the proximity of 4, which of course turns out to be 3.1415.

Пікірлер: 25
@bilalel-zaylaa8390
@bilalel-zaylaa8390 5 жыл бұрын
dude sounds like hes making matlab tutorials on a runway
@empossible1577
@empossible1577 5 жыл бұрын
Aircraft carrier actually.
@pietrorighetto1496
@pietrorighetto1496 5 жыл бұрын
@@empossible1577 i knew it ahahah
@matthewheck6251
@matthewheck6251 5 жыл бұрын
dude is coding next to the Top Gun movie set
@empossible1577
@empossible1577 5 жыл бұрын
Nope. I am Iron Man and that sound you hear is the power supply in my chest.
@mariemhamdi9632
@mariemhamdi9632 4 жыл бұрын
Infinite thanks sir!
@mrsarthakkhattar
@mrsarthakkhattar 4 жыл бұрын
while watching this video i felt like my laptop fan is going to explode.
@empossible1577
@empossible1577 4 жыл бұрын
LOL. I lack the proper recording equipment. I have since purchased a headset so my newer recordings are better. Sorry!
@adamkendrick6816
@adamkendrick6816 5 жыл бұрын
Great review! Many thanks!
@empossible1577
@empossible1577 5 жыл бұрын
Thank you!
@shadisai
@shadisai 5 жыл бұрын
thanks dude that was super useful.
@empossible1577
@empossible1577 5 жыл бұрын
You are welcome!
@AlexAlexBoBalex
@AlexAlexBoBalex 2 жыл бұрын
Sounds like my right headphone is gonna blast-off anytime lmao
@empossible1577
@empossible1577 2 жыл бұрын
I am poor and cannot afford better recording equipment. Sorry!
@AlexAlexBoBalex
@AlexAlexBoBalex 2 жыл бұрын
Nice video tho =)
@kevinosborn4508
@kevinosborn4508 2 жыл бұрын
How would you display each of your iterations? Like if I wanted to see in a table what the first iteration value was and then the second and so forth? Kind of like looking at the convergence through a table.
@empossible1577
@empossible1577 2 жыл бұрын
That is a great question! The key to computation is visualization. First, let me point you to the official course website: empossible.net/academics/emp4301_5301/ Second, you can see how I visualized it in Lecture 4e. If you are wondering about the MATLAB techniques, work through the material in Topic 2 of the same course.
@user-gx2yd2ou8h
@user-gx2yd2ou8h Жыл бұрын
Hi.. How i can finding root for 3x+sin(x)-e^x plz :')
@empossible1577
@empossible1577 Жыл бұрын
The first thing I do is create a rough plot. From there, you can get a rough idea about the position of the roots and types of algorithms you will find to identify the roots. I recommend working through Topic 4 in our Computational Methods course to learn root-finding. empossible.net/academics/emp4301_5301/
@user-gx2yd2ou8h
@user-gx2yd2ou8h Жыл бұрын
@@empossible1577 Thx,🥺
@empossible1577
@empossible1577 Жыл бұрын
@@user-gx2yd2ou8h I cannot post pictures and things here. If you e-mail me, I can help you more.
@autumnsmith6429
@autumnsmith6429 2 жыл бұрын
what does it mean if I copied this code into MATLAB, but I get different values for x1 (3.9) and x2 (2.9)?
@empossible1577
@empossible1577 2 жыл бұрын
Copy/paste and different answer? I have no idea. That is strange.
@binamrapoudel7282
@binamrapoudel7282 3 жыл бұрын
is it okay to write f1=sin(x1) and f2=sin(x2) instead of defining a seperate function func?
@empossible1577
@empossible1577 3 жыл бұрын
The code will work, but what if you were asked to then perform the secant method on a different function? With your approach you would have to search your code carefully for every instance where sin() is called and change it to the new function. If you follow my advice, you will only ever have to change one line of code at the front. Things will be much easier for you!
MATLAB Session -- Numerical Integration
23:51
EMPossible
Рет қаралды 37 М.
MATLAB Session -- Golden Section Search
17:56
EMPossible
Рет қаралды 29 М.
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 40 МЛН
Secant Method
3:53
Oscar Veliz
Рет қаралды 211 М.
Why Democracy Is Mathematically Impossible
23:34
Veritasium
Рет қаралды 1,9 МЛН
Topic 4a -- Introduction to root-finding & bracketing methods
33:25
MATLAB Session -- Steepest Ascent Method
18:11
EMPossible
Рет қаралды 20 М.
MATLAB for New Users
52:19
MATLAB
Рет қаралды 124 М.
6 Inventions That Are Older Than You Think
14:24
SciShow
Рет қаралды 118 М.
Huffman Codes: An Information Theory Perspective
29:11
Reducible
Рет қаралды 227 М.
Lecture -- Introduction to 1D Finite Difference Method
26:35
EMPossible
Рет қаралды 12 М.
Secant Method Example - How to Approximate Square Roots - Numerical Analysis
7:00
MATLAB Help - False Position Method
7:32
Monte Carlos
Рет қаралды 48 М.
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН