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

1 view (last 30 days)
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!

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 3 Jun 2013
Edited: Andrei Bobrov on 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)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!