How can I solve the following PDE?
1 次查看(过去 30 天)
显示 更早的评论
$\dotA(t)=rA(t)-\frac{A(t)^2}{4c}+1$
$\dotB(t)=rB(t)-aA(t)$
$A(T)=q,B(T)=0.$
Suppose that r=0.02, a=3, c=1,q=1.5.
How to write a code to solve it.
0 个评论
回答(2 个)
Alan Stevens
2023-4-10
Try setting tau = T - t, so that dA/dt = -dA/dtau etc, and A(T) , B(T) become A(0), B(0). i.e. turn the boundary value problem into an initial value problem.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PDE Solvers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!