The Student Room Group

Iteration help

Hello everyone,

I have been given the formula

X - 4 sin^2 (x) = 0

I know that there's a root between 2 and 2.5 due to change in sign, but I can't find the suitable iterative formula.

Can someone help me find the iterative formula - I thought that it might be x = 4 sin^2 (x), but this doesn't seem to work...
Reply 1
Original post by Electrogeek
Hello everyone,

I have been given the formula

X - 4 sin^2 (x) = 0

I know that there's a root between 2 and 2.5 due to change in sign, but I can't find the suitable iterative formula.

Can someone help me find the iterative formula - I thought that it might be x = 4 sin^2 (x), but this doesn't seem to work...


x=πarcsinx4x = \pi - \arcsin \sqrt{\frac{x}{4}}
(edited 7 years ago)
Reply 2
Original post by Zacken
x=arcsinx4x = \arcsin \sqrt{\frac{x}{4}}


Thanks - where did pi come from for the other formula?
(edited 7 years ago)
Reply 3
Original post by Electrogeek
That gives me the answer for the other root (0.26 radians) - I can't find it between 2 and 2.5 - thanks for the help though.


see my edited answer
Reply 4
Original post by Electrogeek
Thanks - where did pi come from for the other formula?


Re-arrange the equation to sinx=x4\sin x = \sqrt{\frac{x}{4}}, then you know that x=arcsinx4x = \arcsin\sqrt{\frac{x}{4}} or x=πarcsinx4x = \pi - \arcsin \sqrt{\frac{x}{4}} (mod 2pi)

because sinx=k    sin(πx)=k\sin x = k \iff \sin(\pi-x) = k or by using a cast diagram
Original post by Electrogeek
Thanks - where did pi come from for the other formula?


Note sin(πx)=sin(x)\sin(\pi-x)=\sin(x) for all xx, using the sin(A+B)\sin(A+B) rule.

Then you can find the iterative formula for x4sin2(πx)=0x-4 \sin^2 (\pi-x)=0.

Edit: I would have first tried a Newton Raphson method for this equation though
(edited 7 years ago)
Reply 6
Thanks for the help. 🙂
Reply 7
Original post by Electrogeek
Thanks for the help. 🙂


No worries. :smile:

Quick Reply

Latest