Info

此问题已关闭。 请重新打开它进行编辑或回答。

hi could you please tell me what's wrong with this code?

1 次查看(过去 30 天)
I get this error " Warning: Explicit solution could not be found.
>> syms x(t) y(t)
z=dsolve(diff(y)==x-x.^3,diff(x)==y)
  2 个评论
Alberto
Alberto 2014-4-10
It happends the same with a more simplest version:
syms x(t)
z=dsolve(diff(diff(x))==x.^3 )
Walter Roberson
Walter Roberson 2014-4-10
That's a messy pair. The solution appears to be
y(t) = diff(x(t),t)
x(t) = C2 * sqrt(2) * sqrt(1/(C2^2+1)) * JacobiSN(((1/2*i) * sqrt(2) * t + C1) * sqrt(2) * sqrt(1/(C2^2+1)), C2)
where C1 and C2 are constants of proportionality

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by