mathematica 解微分方程组In[39]:= DSolve[{x'[t] == r*x[t],x[0] == x0},x[t],t]During evaluation of In[39]:= DSolve::deqn:Equation or list of equations expected instead of True in the first argument {(x^\[Prime])[t]==r x[t],True}.>>Out[39]= DSolve

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 08:43:55
mathematica 解微分方程组In[39]:= DSolve[{x'[t] == r*x[t],x[0] == x0},x[t],t]During evaluation of In[39]:= DSolve::deqn:Equation or list of equations expected instead of True in the first argument {(x^\[Prime])[t]==r x[t],True}.>>Out[39]= DSolve

mathematica 解微分方程组In[39]:= DSolve[{x'[t] == r*x[t],x[0] == x0},x[t],t]During evaluation of In[39]:= DSolve::deqn:Equation or list of equations expected instead of True in the first argument {(x^\[Prime])[t]==r x[t],True}.>>Out[39]= DSolve
mathematica 解微分方程组
In[39]:= DSolve[{x'[t] == r*x[t],x[0] == x0},x[t],t]
During evaluation of In[39]:= DSolve::deqn:Equation or list of equations expected instead of True in the first argument {(x^\[Prime])[t]==r x[t],True}.>>
Out[39]= DSolve[{Derivative[1][x][t] == r x[t],True},x[t],t]
怎么解不出来?

mathematica 解微分方程组In[39]:= DSolve[{x'[t] == r*x[t],x[0] == x0},x[t],t]During evaluation of In[39]:= DSolve::deqn:Equation or list of equations expected instead of True in the first argument {(x^\[Prime])[t]==r x[t],True}.>>Out[39]= DSolve
你之前错将 x[0] == x0 写成过x[0] = x0 吧.这导致了变量赋值.先执行一下
Clear[x]
再执行你的代码.