Newton's Methodstuck on a simple problem

  • Thread starter Thread starter syphonation
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
syphonation
Messages
19
Reaction score
0

Homework Statement



Find x(sub3) when x(sub1) is 3 and x^3+3x-5 = 0
Give your answer to 4 correct decimal places.

Homework Equations


Mean Value Theoren Equation with Newton's Method.

x(sub n+1) = x(sub n) - [(f(x)/f'(x)]


The Attempt at a Solution



Okay, so we have to find x(sub2) before x(sub3).

x(sub2) = 3 - [(3^3 + 3(3) - 5)/(3(3)^2 + 3)

I get x(sub 2) to be ~ 1.966666667

Substituting that in the equation, I keep calculating x(sub3) to be ~1.010865585, which would be 1.0109 when rounded to 4 decimal places.

The homework program (WebAssign) that I am using is telling me that answer is wrong. I thought it might be a rounding error, so I tried 1.0108 and 1.0110, both of which were also wrong.

I don't know what I am doing wrong. I have solved this the same way as the ones prior to it, and they came out correct.

Thanks for any and all help.
 
Physics news on Phys.org
syphonation said:

Homework Statement



Find x(sub3) when x(sub1) is 3 and x^3+3x-5 = 0
Give your answer to 4 correct decimal places.

Homework Equations


Mean Value Theoren Equation with Newton's Method.

x(sub n+1) = x(sub n) - [(f(x)/f'(x)]


The Attempt at a Solution



Okay, so we have to find x(sub2) before x(sub3).

x(sub2) = 3 - [(3^3 + 3(3) - 5)/(3(3)^2 + 3)

I get x(sub 2) to be ~ 1.966666667
Okay, that's what I get.

Substituting that in the equation, I keep calculating x(sub3) to be ~1.010865585, which would be 1.0109 when rounded to 4 decimal places.
That's not what I get. Check your arithmetic again. It's more like 2.5.

The homework program (WebAssign) that I am using is telling me that answer is wrong. I thought it might be a rounding error, so I tried 1.0108 and 1.0110, both of which were also wrong.

I don't know what I am doing wrong. I have solved this the same way as the ones prior to it, and they came out correct.

Thanks for any and all help.
 
Halls' - can you check that second iterate again? - I get something more like 1.38
 
...Still be a good idea to check his arithmetic though, wouldn't it?

Yes, absolutely.
 
Thanks everybody. It did turn out to be ~1.38...

Not sure what I was doing wrong before, but oh well. I guess I will just have to be more careful when test day comes.

thanks again.