Parametrical solving a nonlinear equation. Warning: Explicit solution could not be found. > In solve at 179

Hi,
I want to solve this equation in parametrical form, but I get "Warning: Explicit solution could not be found.
> In solve at 179 ".
please help me. Thanks!
syms y,c,x,d,m,w,h,n,g,f;
syms eq ==
y*(c - x)^(1/d) == (x - m)^w*(h*n + g*y) + f*n*(x - m)^d;
solve(eq,x);
Warning: Explicit solution could not be found.
> In solve at 179

 採用された回答

Sam Chak
Sam Chak 2022 年 6 月 2 日
編集済み: Sam Chak 2022 年 6 月 2 日
Then, it implies that your equation is a transcendental equation. Here is an example:
syms x y
eq = x - sin(x) == y;
solve(eq, x)
If you are absolutely sure that the equation can be solved, please check the equation again to make the necessary corrections.

3 件のコメント

Jaber
Jaber 2022 年 6 月 2 日
Hello @Sam Chak
Thank ou for your instructions!
what corrections are yoou mean? for example for the case (example) that you have mentioned.
Hi Jaber,
I don't know if there is any mistake in your equation. It could be a sign change or a misplaced parameter. That's why I encouraged you double check it, probably with various sources like textbooks and journal papers. Don't give up too early.
If you can briefly explain exactly what you want to do with the equation and the background of the equation,
y*(c - x)^(1/d) = (x - m)^w*(h*n + g*y) + f*n*(x - m)^d;
then other experts in the field maybe able to offer good advices.
Jaber
Jaber 2022 年 6 月 5 日
Dear Sam,
I am grateful for your help.
This equation is gotted from my concave optimatization. If I introduce the equations in the optimazation nonlinearly, I get to this equation, but in the linear form it doeses simply.
Anyway, I should use the nonlinear.
The parameters is positive and some of them is between 0 and 1.

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

その他の回答 (0 件)

カテゴリ

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

製品

リリース

R2014a

質問済み:

2022 年 6 月 2 日

コメント済み:

2022 年 6 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by