Second order Runge Kutta method
Versione 1.0.2 (1,36 KB) da
Dr. Manotosh Mandal
Matlab codes for Second order Runge Kutta of Numerical differentiation
For details of the method and also coding watch the lecture: https://youtu.be/qU7X37Xdir0
Example:
Enter the function f(x,y): inline('x^2+y')
Enter initial value of x i.e. x0: 0
Enter initial value of y i.e. y0: 1
Enter the final value of x: 1
Enter the step length h: 0.2
x y
0.000 1.000
0.200 1.224
0.400 1.514
0.600 1.902
0.800 2.428
1.000 3.139
The value of y at x=1.00 is y=3.139>>
Cita come
Dr. Manotosh Mandal (2024). Second order Runge Kutta method (https://www.mathworks.com/matlabcentral/fileexchange/72524-second-order-runge-kutta-method), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Boundary Value Problems > Runge Kutta Methods >
Scopri di più su Runge Kutta Methods in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.2 | For details of the method and also coding watch the lecture: https://youtu.be/qU7X37Xdir0 |
||
1.0.1 | Second order Runge Kutta of Numerical differentiation with example. |
||
1.0.0 |