TA的每日心情 | 开心 2019-11-20 15:05 |
|---|
签到天数: 2 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
5 G4 V9 c& U0 R6 u! ]$ w3 L, Z
+ n: A9 [5 ]7 q& y* _! ?2 j! F分享常微分数值求解算法,显式4阶龙格-库塔算法。 l% k% V, q" m0 [. |
Fourth Order Runge-Kutta Method for Ordinary Differential
+ u+ d7 C5 a- }0 M. S- T# HEquation using Matlab Basic Codes3 |# |6 f% Z$ h( i
Question: Use Runge-Kutta method for systems to solve the following 4 u' v, ^- m) d! s8 H0 L* v+ Y: ]
systems and draw their state paths in the state space of (x,y):9 v. f* c/ b# h( Z$ G9 _) h
(a) Solve with x(0)=4 and y(0)=1 over [0,8]
* j) k2 E/ t' a1 V8 Q1 P. D; Xusing h=0.1.
/ O' A# z- L0 {% FSolution: Using the following program, we can apply fourth order : b; M0 }+ j4 k7 ^* }
Runge-Kutta method for this problem.
2 Q9 x" B; ^6 S" b+ [) j |
|