我正在尝试在 Mathematica 中求解一个微分方程,但我并不是很了解它。我将在下面显示方程式、我的尝试和错误消息:
方程:
dp(t)/dt=rb(1-p(t))
试图:
b = .02;
d = .015;
r = .1;
h = 1;
t = 0;
Clear[p, t]
DSolve[{p'[t] == r*b*(1 - p[t]), p[0] == .01}, p[t], t]
错误:
DSolve::deqn: Equation or list of equations expected instead of True in the first argument {True,p[0]==0.01}. >>