Hayldiburasomas' question via email about Secant Method

1 reply · 10K views · last reply
Prove It
Gold Member
MHB
Messages
1,434
Reaction score
20
Use three iterations of the Secant Method to find an approximate solution of the equation

$\displaystyle \sin{\left( 1.8\,x \right) } =\frac{1}{2}\,x^2 - 10 $

if your initial estimates are $\displaystyle x_0 = 4.43 $ and $\displaystyle x_1 = 4.63 $.

The Secant Method is a numerical scheme to solve equations of the form $\displaystyle f\left( x \right) = 0 $, so we must rewrite the equation as $\displaystyle 0 = \frac{1}{2}\,x^2 - 10 - \sin{ \left( 1.8\,x \right) } $.

Thus $\displaystyle f\left( x \right) = \frac{1}{2}\,x^2 - 10 - \sin{ \left( 1.8\,x \right) } $.

The Secant Method is $\displaystyle x_{n+1} = x_n - f\left( x_n \right) \left[ \frac{x_n - x_{n-1}}{f\left( x_n \right) - f\left( x_{n-1}\right) } \right] $.

I have used my CAS to solve this problem.

View attachment 9651

View attachment 9652

So after three iterations your solution is approximately $\displaystyle x_4 = 4.66053 $.

I also included the calculator's answer, which matches.
 
Attachments
  • Calculator screen showing x0 := 4.43 and x1 := 4.63, the definition f(x) := 1/2 x^2 - 10 - sin(1.8x) (Done), x2 := x1 - f(x1)(x1-x0)/(f(x1)-f(x0)) giving 4.66331, and x3 := x2 - f(x2)(x2-x1)/... giving 4.6605.
    sm1.jpg
    27.3 KB · Views: 197
  • Calculator screen showing secant iterations x3 = 4.6605 and x4 = 4.66053, followed by solve(f(x)=0, x) returning x = -4.24772 or x = 4.66053.
    sm2.jpg
    27.2 KB · Views: 169
Thanks for the help and support as usual Hayden!