By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,831 Members | 1,031 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,831 IT Pros & Developers. It's quick & easy.

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

P: 1
I need a simple code for finding roots in c programme using Newton-raphson method
Oct 23 '09 #1
Share this Question
Share on Google+
1 Reply


Expert 10K+
P: 11,448
@lionkng
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
Oct 23 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.