numerical methods for engineer

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rngz
    New Member
    • Sep 2009
    • 1

    numerical methods for engineer

    how to make te pseudocode for the newton raphson's method in matlab program
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by rngz
    how to make te pseudocode for the newton raphson's method in matlab program
    There is not much programming involved: for a function f(x) you need to know the first derivative w.r.t. x: f'(x) and all you do is iterate:

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

    I don't know Matlab but it can't be too difficult to implement the above.

    kind regards,

    Jos

    Comment

    Working...