2019.4.20.数学建模第六章学习笔记 (微分方程和差分方程)
1.用matlab解微分方程1.1微分方程的解析解用dsolve函数,形式如dsolve(‘方程1’, ‘方程2’,…‘方程n’, ‘初始条件’, ‘自变量’)例1.dsolve('Du=1+u^2','t')结果为 ans = tan(t-C1)y = dsolve('D2y +4*Dy+29y = 0' ,'y(0) = 0', 'Dy (0)=15','x')结果为an...