I get explicit solution not found , how to view the solution ?
Ältere Kommentare anzeigen
syms x(t) y(t)
dx = diff(x,t)
dx2=diff(x,t,2)
dy = diff(y,t)
dy2=diff(y,t,2)
eqns = [dx2 + dx2 == y - 2*dx*dy + 2*(dx).^2+cos(t), dy2 == 2*y + x*dy];
conds = [y(0)==0, dy(0)==1, x(0)==0, dx(0)==0];
sol = dsolve(eqns,conds)
12 Kommentare
Jan
am 19 Mai 2018
What is your question? Did you take into account, that this function might not have an explicit solution?
madhan ravi
am 19 Mai 2018
madhan ravi
am 19 Mai 2018
Bearbeitet: madhan ravi
am 19 Mai 2018
Stephan
am 19 Mai 2018
Have a look at this:
Does this help you?
Best regards
Stephan
Star Strider
am 19 Mai 2018
madhan ravi
am 19 Mai 2018
Bearbeitet: madhan ravi
am 19 Mai 2018
Stephan
am 19 Mai 2018
Sorry,
but this is not the homework service here...
Best regards
Stephan
Walter Roberson
am 19 Mai 2018
You made a mistake in the equations. The second equation has y'' on the left hand side, but you used dx2 which is x'' .
madhan ravi
am 19 Mai 2018
madhan ravi
am 19 Mai 2018
Jan
am 19 Mai 2018
Please post the code as text. We cannot scroll to the right on your screenshot.
madhan ravi
am 22 Mai 2018
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numeric Solvers finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

