⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex5_7.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% EX5_7.M  Symbolic solution of the second order equation%    'D2y+3*Dy+2*y=f(t)'yeq='D2y+3*Dy+2*y=f(t)'     % Define equation for dsolve y=dsolve(yeq,'t');          % Solve the equationpretty(y)                   %   and simplify the result%%  Try this with various forms of f(t) such as%    f(t) = const; f(t) = exp(-.5*t), etc.%  Here is an example pauseyeq='D2y+3*Dy+2*y=exp(-.5*t)'  % Define equation for dsolve y=dsolve(yeq,'t');             % Solve the equationpretty(y)                      %   and simplify the result%%   - You could make the script very general; input f(t)%         and the coefficients

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -