Graph Method Root Finding

9 Ansichten (letzte 30 Tage)
Fatih Ay
Fatih Ay am 9 Apr. 2020
Bearbeitet: James Tursa am 18 Dez. 2020
'X - 2^(-X) = 0'
how can I find the roots of this equation by using graphic method? fplot()

Antworten (1)

James Tursa
James Tursa am 18 Dez. 2020
Bearbeitet: James Tursa am 18 Dez. 2020
E.g.,
x = -1:0.01:1; % pick some x range to look for a root
plot(x,x-2.^(-x)) % plot the equation
grid on
or
fplot(@(x)x-2.^(-x));
grid on
Then zoom in on the 0 crossing.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by