Тёмный

C++ Tutorial | Numerical Methods | Runge Kutta 4th Order - Solving Nonlinear Equations 

VDEngineering
Подписаться 30 тыс.
Просмотров 18 тыс.
50% 1

In this video I will be showing you how to use C++ in order to solve a system of 2 nonlinear ordinary differential equations (ODEs), by using the Fourth Order Runge Kutta Numerical Method.
This is a follow up to the MATLAB RK4 video which I released a couple of years ago.
You will learn basic C++ techniques (functions, loops) along with the theory of the RK4 method as well.
Thanks for watching and be sure to subscibe for more videos like this!
VDEngineering
~~My Udemy Courses on Motion Planning / Navigation / Trajectory Planning:
www.udemy.com/course/autonomo...
My Instagram: / vinayak_desh
My Website: www.vinayakd.com/

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@frostl3d
@frostl3d 3 года назад
Man, thank you soooo much, i was stuck with this for six hours and then ive found your video, it was of great help to me
@user-mh3jw1zk2p
@user-mh3jw1zk2p 3 года назад
Thank you very much for your video! Simple and good explanation! It helped me a lot. Good luck with your channel!
@unodos1821
@unodos1821 4 года назад
Nice👍
@pedrocalorio1655
@pedrocalorio1655 3 года назад
Very GEAT video! I was kind of lost in how to solve ODEs in C++, once I was very used to do it in MATLAB. It could be really nice if you make a video on how to use graph libraries, so we can plot the solution of your ODEs system in C++ without using MATLAB. Cheers!
@frostl3d
@frostl3d 3 года назад
you might wanna try zedgraph
@pedrocalorio1655
@pedrocalorio1655 3 года назад
@@frostl3d thanks Daniel! do you have any experience with them?
@frostl3d
@frostl3d 3 года назад
@@pedrocalorio1655 my teacher has a little example of using zedgraph
@junekwon8873
@junekwon8873 4 года назад
Hello Sir, this is very amazing may I know how you complied your C++ code? Did you use any software? Or just complied it directly in cmd?
@VDEngineering
@VDEngineering 4 года назад
I compiled it with GNU GCC compiler within Notepad++
@anubhav5718
@anubhav5718 3 года назад
Sir can you please provide c++ codes for finite difference method also
@alessandrovitiello3800
@alessandrovitiello3800 4 года назад
hi, very nice video. could you tell us better how to integrate C++ and MatLab together? I notice that you use Notepad ++, what about visual studio or codeblock very popular in C++ environment? which IDE, compiler, other software do you use in order to better merge C++ and Matlab together? thank for your time and considerations
@VDEngineering
@VDEngineering 4 года назад
VS and CodeBlocks are fine too, however much slower than Notepad++ . There is no merging of C++ and Matlab, both those programs are totally different.
@junekwon8873
@junekwon8873 4 года назад
Yes, Matlab and C++ are different program. What be did is first run the C++ code on his computer and obtained numerical results (10000 × 3 data) and he just imported those output data to Matlab and plot those values. Matlab here was used just for plotting.
@alessandrovitiello3800
@alessandrovitiello3800 4 года назад
@@VDEngineering yes I know that MatLab and C++ are totally different. I was asking this because I have read and seen some video about some "integration" with MatLab and C++ ( es.mathworks.com/solutions/matlab-and-c.html ), and I was thinking that maybe there were some relationships . I'd would like ask an other question, I wrote the code, following your coding, the final numbers are the same, but I have the message of "error"..... and the main difference is that the data are printed in an excel file and note in notepad as yours . I used CodeBlock, maybe is this the problem ? many thank for your time and considerations , and again very compliments for you video and channel: useful, direct, and short enough.
@myelinsheathxd
@myelinsheathxd 2 года назад
thx!
@Ackerman-iq3fl
@Ackerman-iq3fl 2 года назад
can we implement this for 15 set of non linear equations??
@VDEngineering
@VDEngineering 2 года назад
It would take 15 hours then
@fareeyafaisal8201
@fareeyafaisal8201 3 года назад
hi can you send me the code?
@marioguzmanmev4881
@marioguzmanmev4881 4 года назад
Y el código
@fareeyafaisal8201
@fareeyafaisal8201 3 года назад
Hi can you send me code
@abumushashah2735
@abumushashah2735 3 года назад
I have a problem, could u help me?
@VDEngineering
@VDEngineering 3 года назад
I charge for my time. Message me on instagram
@abumushashah2735
@abumushashah2735 3 года назад
@@VDEngineering ok
@ZERao-ue6sn
@ZERao-ue6sn 3 года назад
Background MUSIC is irritating and is a big weak point in this video.
Далее
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Кто поёт хит Буратино🤔
0:11
Просмотров 121 тыс.
Runge kutta 2nd order Method
11:07
Просмотров 114 тыс.
31 nooby C++ habits you need to ditch
16:18
Просмотров 745 тыс.
4th-Order Runge-Kutta Method Example
6:37
Просмотров 119 тыс.
Fast Inverse Square Root - A Quake III Algorithm
20:08