Use Newtons Method to find the solution accurate to within 10^-5 of the following problem.
x^2-2xe^(-x)+e^(-2x)=0
How do I know when to stop and how do I find P0 and P1?
as the problem said, you want to be accurate to 5 decimal places, so keep finding a better approximation until the first 5 decimal places do not change
i suppose you mean the initial guess?and how do I find P0 and P1?
first note that you have
so a good initial guess would be one whereis close to
. in fact, it is an equivalent problem to solve
. would be easier to run Newton's method on it too. you can use a graph to come up with a guess
Hope that helps