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

7 visualizaciones (últimos 30 días)
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!

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 3 de Jun. de 2013
Editada: Andrei Bobrov el 3 de Jun. de 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)

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by