TA的每日心情 | 开心 2019-11-20 15:05 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
, ]) p. x$ b! N! D, S: }5 ^, {4 g! Z; Y8 W0 T6 b
分享常微分数值求解算法,显式4阶龙格-库塔算法。* h; Q" q0 ~* W1 H
Fourth Order Runge-Kutta Method for Ordinary Differential 1 }2 x A* d% l& E; Q. H |
Equation using Matlab Basic Codes
: N* U& Q9 u( a& f4 u, t' [Question: Use Runge-Kutta method for systems to solve the following
& F6 Z6 u; b- B' g% i' ^0 lsystems and draw their state paths in the state space of (x,y): h+ N' g" X5 u7 P3 T7 k
(a) Solve with x(0)=4 and y(0)=1 over [0,8] ; ^$ m7 A+ Q$ V5 ^
using h=0.1.
3 R) W) D- d! K" USolution: Using the following program, we can apply fourth order 9 A' T! Z) {8 r% Q6 B) R* V! O7 h
Runge-Kutta method for this problem.
3 p( ~: L! ^& D. r: v |
|