Hello,
My function f(x) satisfies : x*exp(- f(x)) + exp(-2*f(x)) = 3*(x+1). How to plot the function f(x) ?
Thanks

 채택된 답변

Walter Roberson
Walter Roberson 2019년 3월 3일

0 개 추천

If you have the symbolic toolbox, then you can construct an equality but replace f(x) with a variable such as fx. Solve for fx. My tests show there as being two solutions. The lower bound is 2*sqrt(6)-6

댓글 수: 3

Abdoulaye Thiam
Abdoulaye Thiam 2019년 3월 4일
편집: Walter Roberson 2019년 3월 4일
Thanks !
This is what you are saying. How do you found the lower bound 2*sqrt(6)-6 ?
syms x fz
>> solve( x*exp(-fz)+exp(-2*fz)-3*(x+1),fz)
ans =
log((x - (x^2 + 12*x + 12)^(1/2))/(6*(x + 1)))
log((x + (x^2 + 12*x + 12)^(1/2))/(6*(x + 1)))
Walter Roberson
Walter Roberson 2019년 3월 4일
You have a square root. If the value inside the square root is negative then you get a complex result. So you have a boundary when the square root is 0, which occurs at the location I indicated.
Abdoulaye Thiam
Abdoulaye Thiam 2019년 3월 4일
Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

태그

Community Treasure Hunt

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

Start Hunting!

Translated by