The Student Room Group

FP1 Newton Raphson

f(x) = x^3 - 3x - 6
Use the Newton Raphson process to find the positive root of this equation correct to 2 d..
f(2) = -4
f(3) = 12 so root implies in [2,3]
My question is does it matter if i let Xo = 2, or Xo = 3.
I did Xo = 3 but i got the wrong answer from the solution bank as the solution bank did Xo = 2. Can anyone help me ? thanks
I always hated Newton-Raphson :tongue:

Did it specify in the question whether to use x_o = 2 or 3?

Otherwise I'd say if you can tell it's diverging, try the other limit.

@Zacken correct me if I'm wrong
Reply 2
Original post by alesha98
f(x) = x^3 - 3x - 6
Use the Newton Raphson process to find the positive root of this equation correct to 2 d..
f(2) = -4
f(3) = 12 so root implies in [2,3]
My question is does it matter if i let Xo = 2, or Xo = 3.
I did Xo = 3 but i got the wrong answer from the solution bank as the solution bank did Xo = 2. Can anyone help me ? thanks


Mind linking us to the actual question? You're probably just doing it wrong. Using x0=3x_0 = 3 gets you the correct answer.

Remember that the formula is xn+1=xnf(xn)f(xn)\displaystyle x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}
Reply 3
Original post by Student403
I always hated Newton-Raphson :tongue:

Did it specify in the question whether to use x_o = 2 or 3?

Otherwise I'd say if you can tell it's diverging, try the other limit.

@Zacken correct me if I'm wrong


It doesn't diverge, the OP is just doing it wrong. :yep:

x_0 = 3 is a good starting value, won't make it diverge.
Original post by Zacken
It doesn't diverge, the OP is just doing it wrong. :yep:

x_0 = 3 is a good starting value, won't make it diverge.


Oh okay.. Does x_0 = 2 diverge either?

Cause I remember sometimes the upper limit would diverge bu the lower wouldn't and vice-versa. It was weird :s-smilie: definitely did not deserve my FP1 mark xD
Reply 5
Original post by Student403
Oh okay.. Does x_0 = 2 diverge either?

Cause I remember sometimes the upper limit would diverge bu the lower wouldn't and vice-versa. It was weird :s-smilie: definitely did not deserve my FP1 mark xD


Nopes, converges quadratically for both x0=2x_0 = 2 and x0=3x_0 = 3.
Reply 6
Original post by Zacken
Nopes, converges quadratically for both x0=2x_0 = 2 and x0=3x_0 = 3.

ok thanks for solving my first question. I think i didnt make any mistake and i let Xo = 3 and i got 2.36 to 2 d.p.. But the answer in solution bank is 2.28 to 2 d.p.
Reply 7
Original post by alesha98
ok thanks for solving my first question. I think i didnt make any mistake and i let Xo = 3 and i got 2.36 to 2 d.p.. But the answer in solution bank is 2.28 to 2 d.p.


The solution bank is incorrect, you are correct.
Reply 8
Original post by Zacken
The solution bank is incorrect, you are correct.

ok thankyou so much
Reply 9
Original post by alesha98
ok thankyou so much


You're welcome. I've moved this thread to the maths forum for you, in the future, next time you have a maths question, you should create a thread in this (maths) forum so that you get relevant help quickly. :smile:
Reply 10
Original post by alesha98
ok thanks for solving my first question. I think i didnt make any mistake and i let Xo = 3 and i got 2.36 to 2 d.p.. But the answer in solution bank is 2.28 to 2 d.p.


Was the question to apply the NRM only once?
Reply 11
Original post by aymanzayedmannan
Was the question to apply the NRM only once?


Using x0=2x_0 = 2:

x1=2.444444444...x_1 = 2.444444444...

x2=2.35916...x_2 = 2.35916...

Using x0=3x_0 = 3:

x1=2.5x_1 = 2.5

x2=2.36508...x_2 = 2.36508...

So, nowhere does it show 2.28, think we can assume the solution bank is just completely wrong here.

By the way, nobody has replied to my S2 answers yet, this is hilarious. :lol:
Reply 12
Original post by Zacken
Using x0=2x_0 = 2:

x1=2.444444444...x_1 = 2.444444444...

x2=2.35916...x_2 = 2.35916...

Using x0=3x_0 = 3:

x1=2.5x_1 = 2.5

x2=2.36508...x_2 = 2.36508...

So, nowhere does it show 2.28, think we can assume the solution bank is just completely wrong here.

By the way, nobody has replied to my S2 answers yet, this is hilarious. :lol:


Haha I hadn't actually calculated, but you do lose marks if you give a more accurate answer in the real exam which is why I was asking. Thanks for confirming!

Now I really wish I got S2 over with this session; I will have no one to discuss with post exam plus a clash with FP3 to deal with. :angry:

Did you find out if it's actually dangerous to post answers 2 hours after the exam? I always thought IALs were taken roughly at the same time. I didn't even know countries left of the Greenwich median took IAL exams, I always thought they were targeted towards a more "Eastern" audience.
This is trivial, none of you lot could make it at trinity #lel
Reply 14
Original post by aymanzayedmannan
Haha I hadn't actually calculated, but you do lose marks if you give a more accurate answer in the real exam which is why I was asking. Thanks for confirming!

Now I really wish I got S2 over with this session; I will have no one to discuss with post exam plus a clash with FP3 to deal with. :angry:

Did you find out if it's actually dangerous to post answers 2 hours after the exam? I always thought IALs were taken roughly at the same time. I didn't even know countries left of the Greenwich median took IAL exams, I always thought they were targeted towards a more "Eastern" audience.


Neither did I, tbh, I just shoved it into Wolfram and it did it for me. :lol:

Argh, yeah, I think you'd have managed doing it in Jan quite well. Although, I suspect the only reason why it's unpopular is because it's Jan. I think there'll be a lot more people doing it in June, so you can discuss your answers then. Although the FP3 clash is horrible...

Nopes, I'm not too bothered, to be honest. The number of candidates who are left of GMT intersected with those on TSR intersected with those looking at the thread a few hours before the exam is likely to be zero or minuscule anyway. I thought IAL was always east as well, it could possibly be.
Reply 15
Original post by Zacken
Neither did I, tbh, I just shoved it into Wolfram and it did it for me. :lol:

Argh, yeah, I think you'd have managed doing it in Jan quite well. Although, I suspect the only reason why it's unpopular is because it's Jan. I think there'll be a lot more people doing it in June, so you can discuss your answers then. Although the FP3 clash is horrible...

Nopes, I'm not too bothered, to be honest. The number of candidates who are left of GMT intersected with those on TSR intersected with those looking at the thread a few hours before the exam is likely to be zero or minuscule anyway. I thought IAL was always east as well, it could possibly be.


I didn't give C34 or S2 in January for a trivial reason, it's quite embarrassing. :colondollar:
I could discuss my answers then, but there's hardly anyone doing IAL here and your answers are easily the most trustable! At least you'll be there for F2, F3, Physics and I hope S3!

Yeah, I agree with that. It really doesn't seem very likely.
Unparseable latex formula:

\[P(no.\ of \ candidates \ left \ of \ GMT \ \cap \ those \ on \ TSR \ \cap \ looking \ at \ thread) \approx 0\]

:tongue:

What are you going to do with this break? :smile:
Reply 16
Original post by aymanzayedmannan
I didn't give C34 or S2 in January for a trivial reason, it's quite embarrassing. :colondollar:
I could discuss my answers then, but there's hardly anyone doing IAL here and your answers are easily the most trustable! At least you'll be there for F2, F3, Physics and I hope S3!

Yeah, I agree with that. It really doesn't seem very likely.
Unparseable latex formula:

\[P(no.\ of \ candidates \ left \ of \ GMT \ \cap \ those \ on \ TSR \ \cap \ looking \ at \ thread) \approx 0\]

:tongue:

What are you going to do with this break? :smile:


Is it because of your school not wanting you to? I'm sure somebody will pop along and I might even resit a few modules if I haven't done well in them! :yep:

Love it. :lol:

I'm doing a bit of tutoring to make some money, but also picking up S3 (hopefully) and doing lots of STEP. I need to learn Physics A2 as well, that's going to kill me. :lol:

Quick Reply

Latest