matlab,解微分方程,
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/13 23:50:16
matlab,解微分方程,
[k,y]=dsolve('Dy=k*(y-28)','Dk=0','y(0)=30.8','y(60)=29.1','t');
k=simple(k)
y=simple(y)
[k,y]=dsolve('Dy=k*(y-28)','Dk=0','y(0)=30.8','y(60)=29.1','t');
|
Error:Missing variable or function.
[k,y]=dsolve('Dy=k*(y-28)','Dk=0','y(0)=30.8','y(60)=29.1','t');
k=simple(k)
y=simple(y)
[k,y]=dsolve('Dy=k*(y-28)','Dk=0','y(0)=30.8','y(60)=29.1','t');
|
Error:Missing variable or function.
我刚试了,在我的电脑上是可以解的,没有任何问题的!
k =
log(11/28)/60
y =
(14*(11/28)^(t/60))/5 + 28
k =
log(11/28)/60
y =
(14*(11/28)^(t/60))/5 + 28