How to solve two differential equations
3 ビュー (過去 30 日間)
古いコメントを表示
I wrote this to solve two differential equations but does'nt work
clc
clear
syms B(t) S(t)
K=0.000001;
k=0.3;
DB=diff(B);
DS=diff(S);
eq1=DB==k*B*S/(K+DS);
eq2=DS==-0.75*k*B*S/(K+S);
cond=[S(0)==5,B(0)==0.05];
[B,S]=dsolve([eq1,eq2],cond)
1 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!