TA的每日心情 | 开心 2019-11-20 15:05 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
+ g1 N7 ?- E9 p4 {
- X: J$ @4 R( J7 w
分享常微分数值求解算法,显式4阶龙格-库塔算法。/ }# t+ {2 P$ F3 d/ o
Fourth Order Runge-Kutta Method for Ordinary Differential
! b% L" @' y% BEquation using Matlab Basic Codes7 C8 b: b# p" S+ l
Question: Use Runge-Kutta method for systems to solve the following ' D! ]+ _/ {0 P+ h
systems and draw their state paths in the state space of (x,y):
* }5 H) f, f. L* z5 g- Z$ v; y. [(a) Solve with x(0)=4 and y(0)=1 over [0,8]
. U8 o( _8 ?* z; `" K& jusing h=0.1.
3 @4 a( ^/ {5 ?4 E r8 {* ?; zSolution: Using the following program, we can apply fourth order
# l$ h$ |) [( S! q# dRunge-Kutta method for this problem.
5 E* p, M! B5 u4 o: g% R! q |
|