For details of the method and also coding watch the lecture: https://youtu.be/UwRWWRspRi0
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.515
0.600 1.906
0.800 2.437
1.000 3.155
The value of y at x=1.00 is y=3.155>>
인용 양식
Dr. Manotosh Mandal (2024). Fourth order Runge Kutta Method (https://www.mathworks.com/matlabcentral/fileexchange/72525-fourth-order-runge-kutta-method), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2019a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Boundary Value Problems > Runge Kutta Methods >
Help Center 및 MATLAB Answers에서 Runge Kutta Methods에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.2 | For details of the method and also coding watch the lecture: https://youtu.be/UwRWWRspRi0 |
||
1.0.1 | Fourth order Runge Kutta Method of Numerical differentiation with example. |
||
1.0.0 |