I get explicit solution not found , how to view the solution ?
Show older comments
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 Comments
Jan
on 19 May 2018
What is your question? Did you take into account, that this function might not have an explicit solution?
madhan ravi
on 19 May 2018
madhan ravi
on 19 May 2018
Edited: madhan ravi
on 19 May 2018
Stephan
on 19 May 2018
Have a look at this:
Does this help you?
Best regards
Stephan
Star Strider
on 19 May 2018
madhan ravi
on 19 May 2018
Edited: madhan ravi
on 19 May 2018
Stephan
on 19 May 2018
Sorry,
but this is not the homework service here...
Best regards
Stephan
Walter Roberson
on 19 May 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
on 19 May 2018
madhan ravi
on 19 May 2018
Jan
on 19 May 2018
Please post the code as text. We cannot scroll to the right on your screenshot.
madhan ravi
on 22 May 2018
Accepted Answer
More Answers (0)
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
