Using Newtons Method Solve the equation ex x 10Solutiongiv
Using Newton\'s Method Solve the equation e^x + x = 10.
Solution
given ex+x =10
f(x)= ex+x-10
f \'(x)=ex+1
initial estimate x1= 2
xn+1=xn-(f(xn))/(f \'(xn))
x2=2-[(e2+2-10)/(e2+1)]=2.072826298199
x2=2.072826298199-[(e2.072826298199+2.072826298199-10)/(e2.072826298199+1)]=2.070582144443
x3=2.070579904983
x4=2.070579904980
so solution is x=2.07058
