How to solve exponential equation in Matlab?

4 views (last 30 days)
find x for (e^(-x))+(e^(-0.1x))=0.5

Answers (3)

Torsten
Torsten on 22 Feb 2018
Edited: Torsten on 22 Feb 2018
Substitute
y = exp(-0.1*x).
Your equation now becomes
y^10 + y = 0.5
Use MATLAB's "roots" to solve for y.
Then
x = -10*log(y)
for the real-valued positive root(s) are solutions to your original equation.
Best wishes
Torsten.

Star Strider
Star Strider on 21 Feb 2018
Use an anonymous function and the fzero (link) function.
See the documentation on Anonymous Functions (link) for details.

Shreyansh Shrivastava
Shreyansh Shrivastava on 27 Oct 2021
exp((-3020/T)+5.13)=0.8T
Solve for T?

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!