How to solve problem 2?
1 次查看(过去 30 天)
显示 更早的评论
This is a problem dynamics problem, how do I solve for the variable k in the function?
u0 = 5000; % This is the answer to the first problem
lambda = 0.03;
pm = 9000;
k = 100;
f = @(t,p) lambda*p*(1-p/pm)-k;
[t,P] = RK4(f,u0,100,10)
Pf = P(end)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Mathematics and Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!