Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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 Comments
Alberto
Alberto on 10 Apr 2014
It happends the same with a more simplest version:
syms x(t)
z=dsolve(diff(diff(x))==x.^3 )
Walter Roberson
Walter Roberson on 10 Apr 2014
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

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!