Code for finding roots in c programme using Newton-raphson method

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lionkng
    New Member
    • Oct 2009
    • 1

    Code for finding roots in c programme using Newton-raphson method

    I need a simple code for finding roots in c programme using Newton-raphson method
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by lionkng
    I need a simple code for finding roots in c programme using Newton-raphson method
    We don't do your homework here; do it yourself and when you're stuck ask a specific question; a small hint: when you don't know f'(x) (i.e. the first derivative of f w.r.t. x) use (f(x+h)-f(x-h))/2h for a small value of h.

    kind regards,

    Jos

    Comment

    Working...