Finding the 6-decimal Root of e^-x=lnx in [1,2]

  • Thread starter Thread starter shadowman187
  • Start date Start date
  • Tags Tags
    Root
Click For Summary
SUMMARY

The discussion focuses on finding the six-decimal root of the equation e-x = ln(x) within the interval [1, 2]. The iterative method is employed, utilizing the function F(x) = e-x - ln(x) and its derivative F'(x) = -e-x - (1/x). To achieve six decimal places of accuracy, participants recommend calculating intermediate values to seven decimal places and then rounding the final result to six decimal places. The iterative process continues until the values of xn and xn+1 converge to the same six decimal digits.

PREREQUISITES
  • Understanding of numerical methods for root finding
  • Familiarity with the functions e-x and ln(x)
  • Knowledge of derivatives and their applications
  • Proficiency in iterative approximation techniques
NEXT STEPS
  • Study the Newton-Raphson method for root finding
  • Learn about convergence criteria in numerical analysis
  • Explore the use of Taylor series for function approximation
  • Investigate numerical precision and rounding techniques in calculations
USEFUL FOR

Students in mathematics, particularly those studying numerical analysis, as well as educators and professionals seeking to enhance their understanding of iterative methods for solving equations.

shadowman187
Messages
3
Reaction score
0

Homework Statement



to six decimal places the root of the equation e^-x=lnx over interval [1,2]


The Attempt at a Solution


(e^-x)-lnx=0
F'(x) = (-e^-x)-(1/x)

x(subcript(n))-(e^-x)-lnx/(-e^-x)-(1/x)

the problem I am having is getting it to six decimal places. do i have to go int0 1.00001 or something like that in order to get six decimal places. since the interval is [1,2]?
 
Physics news on Phys.org
In the interval [a,b], a good approximation would be


[tex]x_1=\frac{a|F(b)|+b|F(a)|}{|F(a)|+|F(b)|}[/tex]

To get to 6 dp, just put x1 to 7dp then when you work out x2 (the answer will be in 7dp), approximate it to 6dp.

In other words, when calculating using the 7dp number and when writing the answers, write it to 6dp, so you will see when the answers are the same to the same degree of accuracy.
 
I'm not sure what you mean by "go into 1.00001" but that number has only 5 decimal places.
Repeat the iteration until you get xn and xn+1 are the same to 6 decimal places- the first 6 digits after the decimal point are the same.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K