TA的每日心情 | 开心 2019-11-20 15:05 |
|---|
签到天数: 2 天 [LV.1]初来乍到
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
) n a' Z8 Q1 I6 t% M' ?8 q4 z( o5 m* C3 P0 m
分享常微分数值求解算法,显式4阶龙格-库塔算法。
! E; x" m& U5 ?- `+ IFourth Order Runge-Kutta Method for Ordinary Differential 3 ]; ^, D# `7 S
Equation using Matlab Basic Codes
# P$ ~5 R6 W+ ^# i; oQuestion: Use Runge-Kutta method for systems to solve the following
3 w6 V) O0 o( M" u' B9 lsystems and draw their state paths in the state space of (x,y):0 C7 U* N% V! m# p# q$ n" z J) U8 S
(a) Solve with x(0)=4 and y(0)=1 over [0,8] & x5 k+ J+ V: A4 j# m) j8 \4 ~1 s
using h=0.1.
* p5 ~, p% f% y5 U6 DSolution: Using the following program, we can apply fourth order % c3 Y, {$ f) n
Runge-Kutta method for this problem.
: n p+ f% ]0 ^' R* K |
|