I get explicit solution not found , how to view the solution ?
显示 更早的评论
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 个评论
Jan
2018-5-19
What is your question? Did you take into account, that this function might not have an explicit solution?
madhan ravi
2018-5-19
madhan ravi
2018-5-19
编辑:madhan ravi
2018-5-19
Stephan
2018-5-19
Have a look at this:
Does this help you?
Best regards
Stephan
Star Strider
2018-5-19
madhan ravi
2018-5-19
编辑:madhan ravi
2018-5-19
Stephan
2018-5-19
Sorry,
but this is not the homework service here...
Best regards
Stephan
Walter Roberson
2018-5-19
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
2018-5-19
madhan ravi
2018-5-19
Jan
2018-5-19
Please post the code as text. We cannot scroll to the right on your screenshot.
madhan ravi
2018-5-22
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Numeric Solvers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

