program_7a.m
来自「《Dynamical Systems with Applications usi」· M 代码 · 共 16 行
M
16 行
% Chapter 7 - Differential Equations.
% Program_7a - Solving simple differential equations.
% Symbolic Math toolbox required.
% Copyright Birkhauser 2004. Stephen Lynch.
% A separable ODE (Example 1).
soln1=dsolve('Dx=-t/x')
% Chemical kinetics (Example 8).
a=4;b=1;k=.00713;
soln2=dsolve('Dc=k*(a-c)^2*(b-c/2)')
% A 3-D system (Exercise 7).
[x,y,z]=dsolve('Dx=-alpha*x','Dy=alpha*x-beta*y','Dz=beta*y')
% End of Program_7a.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?