TA的每日心情 | 开心 2019-11-20 15:05 |
|---|
签到天数: 2 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
+ b3 c$ j# q- A C( f
! Q ^/ V( x* u3 m2 u: U
分享常微分数值求解算法,显式4阶龙格-库塔算法。/ p$ N' a) {+ t3 o) w, t6 c
Fourth Order Runge-Kutta Method for Ordinary Differential & A; N& p$ T$ N) h5 S
Equation using Matlab Basic Codes
+ o. m! }& J" b) tQuestion: Use Runge-Kutta method for systems to solve the following 0 \$ B! l N- n4 w
systems and draw their state paths in the state space of (x,y):, t& X. S* s: x
(a) Solve with x(0)=4 and y(0)=1 over [0,8] " P8 {' C) N( R) Q; _7 ?' ?" u! |( k1 b
using h=0.1.
% H) c6 m1 o6 a! T6 ]1 ~, JSolution: Using the following program, we can apply fourth order
3 N; i+ R0 e0 c2 \3 rRunge-Kutta method for this problem.8 p( m, ~- D3 a8 V
|
|