mathematic 求解微分方程DSolve[{x'[t]== r*x[t]+b,x[0] == x0},x[t],t]为什么出现错误:DSolve::deqn:Equation or list of equations expected instead of True in the first argument {-b+(x^\[Prime])[t]==r x[t],True}.当我把x换成y时,即DSo

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 18:42:00

mathematic 求解微分方程DSolve[{x'[t]== r*x[t]+b,x[0] == x0},x[t],t]为什么出现错误:DSolve::deqn:Equation or list of equations expected instead of True in the first argument {-b+(x^\[Prime])[t]==r x[t],True}.当我把x换成y时,即DSo
mathematic 求解微分方程DSolve[{x'[t]== r*x[t]+b,x[0] == x0},x[t],t]
为什么出现错误:DSolve::deqn:Equation or list of equations expected instead of True in the first argument {-b+(x^\[Prime])[t]==r x[t],True}.
当我把x换成y时,即DSolve[{y'[t] == r*y[t] + b,y[0] == y0},y[t],t]时却能成功求解,这是为什么?
mathematica求解微分方程中,x只能作自变量,y只能作因变量吗?例如求解x(t),则出现错误。

mathematic 求解微分方程DSolve[{x'[t]== r*x[t]+b,x[0] == x0},x[t],t]为什么出现错误:DSolve::deqn:Equation or list of equations expected instead of True in the first argument {-b+(x^\[Prime])[t]==r x[t],True}.当我把x换成y时,即DSo
我把你的代码复制到mathematic里面:
DSolve[{x'[t]== r*x[t]+b,x[0] == x0},x[t],t]
运行报错,但是如果这么写
DSolve[{x'[t] == r*x[t] + b,x[0] == x0},x[t],t]
就能求出解来
看出上面两句有什么不同了吗?
我靠!你的上面那行的加号是中文输入法里的加号,这不管在哪种程序里都是错的啦.