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

조회 수: 7 (최근 30일)
Vihar Chervenkov
Vihar Chervenkov 2013년 6월 3일
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!

채택된 답변

Andrei Bobrov
Andrei Bobrov 2013년 6월 3일
편집: Andrei Bobrov 2013년 6월 3일
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)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by