TA的每日心情 | 开心 2019-11-20 15:05 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
8 V' o, Q' W3 ?
3 v9 r6 b$ X+ U; R3 P# h分享常微分数值求解算法,显式4阶龙格-库塔算法。
. C! G3 a1 G% z" v( a+ TFourth Order Runge-Kutta Method for Ordinary Differential + d1 P, Q0 E7 Q* l; _% c
Equation using Matlab Basic Codes
4 t7 M0 h' S- y& Z1 J, r {Question: Use Runge-Kutta method for systems to solve the following 6 D% f" W% X: G) @
systems and draw their state paths in the state space of (x,y):$ |; n2 Q O4 j. T7 A+ n
(a) Solve with x(0)=4 and y(0)=1 over [0,8]
) |9 {& `& A2 N1 D8 x: c) pusing h=0.1.
" S; n1 k# }2 a7 r9 }$ }) z0 w8 a8 DSolution: Using the following program, we can apply fourth order 9 ]% W, j( P @6 r5 X- C
Runge-Kutta method for this problem.
7 C. g x' _8 c. [6 g) z E# M, V; z |
|