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

  • Thread starter Thread starter TyErd
  • Start date Start date
  • Tags Tags
    Method Newtons
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: 462
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
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top