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

📄 numdiff4.m

📁 求解predator-prey的代码
💻 M
字号:
%  numdiff4.m
% Matlab file for Part 4 of the Numerical Solutions
% of Differential Equations module

disp('********************************************')
disp('Part 4:  Another Initial Value Problem ')
disp('********************************************')
disp('  ')    

    format short

    disp('Edit your dfun.m file for the new DE: ')
    disp(' ')
    disp('  dy/dt = sin(y)  ')
    disp(' ')
    disp('Then, copy, paste, and edit MATLAB commands ')
    disp('from Part 3 to here to carry out the ')
    disp('calculations for Part 4. ')
    disp('  (You may have to adjust horizontal')
    disp('   and vertical scales to see what you')
    disp('   need to see.) ')
    disp(' ')
    disp('-----------------------------------------')
    disp('Answer all questions in part 4 as MATLAB')
    disp('comments in your diary file.') 
    disp(' ')
    disp(' ')
    disp('When you have finished part 4, to go on')
    disp('to part 5 of this module, type: numdiff5')
    disp(' ')

⌨️ 快捷键说明

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