- #1
ankur29
- 10
- 0
Homework Statement
solve via newt raphson iterative method to 4dp
Find the solution x= 1/(1+x^x) to 4dp beginning at x=1
Homework Equations
Now the formula for this is
x1= x0 – f(x0)/f’(x0)
Now what I did was rearrange so f(x)= x( 1+x^x)-1=0
I need to differentiatie this expression
So say I called it y= x( 1+x^x)-1
Could I proceed by taking logs of both sides
i.e (an example where I saw people take logs of boths ides was when y=x^x and therefore lny=x^x) is that only for when there is one term equal to another
The Attempt at a Solution
how I attempted it was as follows
y= x + x^(x+1) -1
lny = lnx +(x+1)lnx - ln1
lny= lnx +xlnx +lnx –ln1
1/y dy/dx= 1/x + lnx +1
dy/dx = (x + x^(x+1) -1) (1/x + lnx +1)
now this feels wrong to me