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

 Accepted Answer

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 Comments

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.
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.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2014a

Asked:

on 2 Jun 2022

Commented:

on 5 Jun 2022

Community Treasure Hunt

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

Start Hunting!