You are here:

C++/Bisection method

Advertisement


Question
hi my name is majid i will try to find the roots of the equation using Bisection method,Newton method; but i will not be succeed and my equation is (x*x+2x-2).  n number of
iteration in method.define the tolerance  can you help me. using c++ and using Microsoft Visual studio 2005/2008. windows programing.and not using matlab. i hope you help me.and understand my question.
                             Thank.


Answer
Read these articles.

Bisection method: http://en.wikipedia.org/wiki/Bisection_method

Newton's method: http://en.wikipedia.org/wiki/Newton%27s_method

Make a first attempt, and if you still get stuck at some point, come back with a specific follow up question along with the code that you have written.  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


vijayan

Expertise

my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++09. i would not answer questions about gui and web programming.

Experience

over 15 years

Education/Credentials
post graduate engineer

©2012 About.com, a part of The New York Times Company. All rights reserved.