Skip to main content
19-Tanzanite
February 7, 2023
Solved

Newton-Raphson Method - MC Prime 8

  • February 7, 2023
  • 3 replies
  • 2291 views

Hello,

CornelBejan_0-1675757402203.png

 

MC Prime 8 file attached.

Thank you.

 

Best answer by ttokoro

Chage xi-1 - and -> to = 

 

image.pngimage.pngimage.pngimage.png

3 replies

19-Tanzanite
February 7, 2023

As Newton-Raphson is essentially numeric there is little point in using a symbolic equals.  Just stick with numerics.

Here is my equivalent using Mathcad 8 Express:

NewtonRaphson.png

Alan

 

ttokoro
21-Topaz I
ttokoro21-Topaz IAnswer
21-Topaz I
February 7, 2023

Chage xi-1 - and -> to = 

 

image.pngimage.pngimage.pngimage.png

t.t.
25-Diamond I
February 7, 2023

As Alan I am asking what the idea of a symbolical evaluation of the intermediate results of a numerical approximation algorithm might be!!

Whats wrong with

Werner_E_0-1675774221497.png

BTW you had a wrong sign in your implementation of the Newton algorithm. See Alan's approach for a correction.

Werner_E_1-1675774279121.png

 

Here is the (unsimplified) symbolic result with four iteration steps.

Werner_E_2-1675774305627.png

Are you sure that you really want to see the result for 5 or more steps? 🙂

Using "simplify" or "simplify, max" may give you a more compact result at the cost of a lot of coffee to drink while  waiting for the calculation to finish.

But again, what's the sense of displaying those results symbolically?

25-Diamond I
February 7, 2023

If you really need to see the symbolic representation of the fifth iteration step, here it is

Werner_E_0-1675775143985.png

 

And for an exact symbolic result

Werner_E_0-1675775914458.png

😄