Returning implicit solution instead of explicit solution?

I tried solving a differential equation
I wrote the code
syms y(x)
ode = diff(y,x) == ((y/x)*cos(y/x))/((x/y).*sin(y/x)+cos(y/x))
ySol(x)= dsolve(ode)
The software is returning implicit solution instead of explicit one but I tried it on Wolfram but it returned an explicit solution. Please help me..

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 10 月 28 日

0 投票

Wolfram Alpha does not return an explicit solution for this.
It returns Log[Sin[y[x]/x]] + Log[y[x]/x] == -Log[x] + Subscript[c, 1]
which is an implicit solution.

3 件のコメント

Karan Gill
Karan Gill 2017 年 10 月 30 日
Additional comment: I think the implicit solution from dsolve could be more helpful. Will follow up on this.
Gopalkrishna Pai
Gopalkrishna Pai 2017 年 11 月 11 日
Please give program code such that warning does not appear
Walter Roberson
Walter Roberson 2017 年 11 月 11 日
The code such that the warning does not appear would just consist of turning the warning off, running the same program as above and failing to get a useful solution, and then turning the warning back on again.
Either the ODE has no explicit solution, or else the explicit solution is beyond the abilities of MATLAB, Maple, and Mathematica.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

2017 年 10 月 28 日

コメント済み:

2017 年 11 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by