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.
Comment