How to plot ?

1 view (last 30 days)
Abdoulaye Thiam
Abdoulaye Thiam on 3 Mar 2019
Commented: Abdoulaye Thiam on 4 Mar 2019
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

Accepted Answer

Walter Roberson
Walter Roberson on 3 Mar 2019
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 Comments
Walter Roberson
Walter Roberson on 4 Mar 2019
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 on 4 Mar 2019
Thanks

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!