I do hope anyone can give me some idea to solve these two problems shown in two boxs
I can calculte the the solution of x(t) in the following equation
dx(t)/dt = x(t)+(x(t))^3
I can use
dsolve('Dx=1*x+1*x^3')
and I got the answer is
ans = 0 (-exp(2*C8 + 2*t)/(exp(2*C8 + 2*t) - 1))^(1/2) 1i -1i
I don't know what's C8 and should I just take the (-exp(2*C8 + 2*t)/(exp(2*C8 + 2*t) – 1))^(1/2) as the correct solution?
More important, I don't know how to calculte the solution of x(t) when there is a f(t)
dx(t)/dt = x(t)+(x(t))^3 + f(t)
, where
f(t) = sin(100*t)
Best Answer