MATLAB - Solve for x --> Explicit solution cannot be found.

7 Ansichten (letzte 30 Tage)
Vihar Chervenkov
Vihar Chervenkov am 3 Jun. 2013
Hi,
I need to find "x", from the following equation:
a^2/E = d*g*x^(2*b) + f*g*x^b + d*h*x^(c+b) + f*h*x^c
Absolutely all parameters are known except "x". The powers c and b are known as well, but they have the following values:
b = -0.9280
c = -0.5596
I can give the other values as well, but I don't believe they are relevant... If you want to try a code just make them equal to 5,6,7,8 and etc...
I already tried with:
sym x
y = solve('equation',x)
but it gives me:
Explicit solution cannot be found.
Cheers!

Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 3 Jun. 2013
Bearbeitet: Andrei Bobrov am 3 Jun. 2013
b = -0.9280;
c = -0.5596;
const = num2cell(1:6);
[a,d,E,f,g,h] = const{:};
syms x
out = solve(d*g*x^(2*b) + f*g*x^b + d*h*x^(c+b) + f*h*x^c - a^2/E,x)

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by