How to Solve a Nonlinear Equation Using Newton's Method?

  • Thread starter Thread starter TyErd
  • Start date Start date
  • Tags Tags
    Method Newtons
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
TyErd
Messages
297
Reaction score
0

Homework Statement


I've attached the question


Homework Equations


x(n+1) = x(n) - f(x(n)) / f '(x(n))


The Attempt at a Solution


2.5x^3 =2cos(x) + 8
okay so this has to be in the form of f(x) = ... but there is no y variable for me to make it into that form. once I've gotten it into that form, it should be easy but its the manipulation that's got me stuck.
0 =2cos(x) + 8 - 2.5x^3
 

Attachments

  • 111111111111.png
    111111111111.png
    2.9 KB · Views: 490
Physics news on Phys.org
You want it in the form of f(x) = 0, and you have the equation 0 = 2cos(x) + 8 - 2.5x^3, so f(x) = 2cos(x) + 8 - 2.5x^3
 
oh i didnt know that, i got an answer of x1=1.508306, x2=1.48451 and x3=1.48416 looks right